Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 2015 00:08:57 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r395810 - head/finance/trytond28
Message-ID:  <201509020008.t8208vBl082256@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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 @@
-@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
-@exec if [ ! -f %D/etc/trytond.conf ] ; then cp -p %D/%F %B/trytond.conf; fi
+@sample etc/trytond.conf.sample



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509020008.t8208vBl082256>