svn commit: r395810 - head/finance/trytond28
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Sep 2 00:08:58 UTC 2015
Author: amdmi3
Date: Wed Sep 2 00:08:57 2015
New Revision: 395810
URL: https://svnweb.freebsd.org/changeset/ports/395810
Log:
- Clarify LICENSE
- Add LICENSE_FILE
- Pet portlint
- Switch to @sample
Approved by: portmgr blanket
Modified:
head/finance/trytond28/Makefile
head/finance/trytond28/pkg-plist
Modified: head/finance/trytond28/Makefile
==============================================================================
--- head/finance/trytond28/Makefile Wed Sep 2 00:08:45 2015 (r395809)
+++ head/finance/trytond28/Makefile Wed Sep 2 00:08:57 2015 (r395810)
@@ -11,7 +11,8 @@ PKGNAMESUFFIX= 28
MAINTAINER= matthias at petermann-it.de
COMMENT= Tryton Application Platform (Server)
-LICENSE= GPLv3
+LICENSE= GPLv3 # or later
+LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/mx/__init__.py:${PORTSDIR}/lang/py-mx-base \
${PYTHON_PKGNAMEPREFIX}psycopg2>0:${PORTSDIR}/databases/py-psycopg2 \
@@ -42,7 +43,7 @@ PIDDIR?= /var/run
LOGDIR?= /var/log
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= autoplist distutils
post-patch:
@${REINPLACE_CMD} -e 's|%%PIDDIR%%|${PIDDIR}|g' -e 's|%%LOGDIR%%|${LOGDIR}|g' \
@@ -67,6 +68,6 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pyt
.endif
post-install:
- ${CP} -p ${WRKSRC}/etc/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
+ ${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
.include <bsd.port.mk>
Modified: head/finance/trytond28/pkg-plist
==============================================================================
--- head/finance/trytond28/pkg-plist Wed Sep 2 00:08:45 2015 (r395809)
+++ head/finance/trytond28/pkg-plist Wed Sep 2 00:08:57 2015 (r395810)
@@ -1,3 +1 @@
- at unexec if cmp -s %D/etc/trytond.conf.sample %D/etc/trytond.conf; then rm -f %D/etc/trytond.conf; fi
-etc/trytond.conf.sample
- at exec if [ ! -f %D/etc/trytond.conf ] ; then cp -p %D/%F %B/trytond.conf; fi
+ at sample etc/trytond.conf.sample
More information about the svn-ports-head
mailing list