Date: Fri, 13 Jan 2017 09:28:20 +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: r431363 - head/www/roundup Message-ID: <201701130928.v0D9SKC0073723@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Jan 13 09:28:19 2017 New Revision: 431363 URL: https://svnweb.freebsd.org/changeset/ports/431363 Log: - Add LICENSE_FILE - Add NO_ARCH - Switch to options helpers - Use MANPREFIX Approved by: portmgr blanket Modified: head/www/roundup/Makefile Modified: head/www/roundup/Makefile ============================================================================== --- head/www/roundup/Makefile Fri Jan 13 09:25:52 2017 (r431362) +++ head/www/roundup/Makefile Fri Jan 13 09:28:19 2017 (r431363) @@ -10,33 +10,20 @@ MAINTAINER= sbz@FreeBSD.org COMMENT= Issue-Tracking System for Knowledge Workers LICENSE= PSFL +LICENSE_FILE= ${WRKSRC}/COPYING.txt USES= cpe gettext python CPE_VENDOR= roundup-tracker USE_PYTHON= distutils +NO_ARCH= yes OPTIONS_DEFINE= SQLITE PGSQL MYSQL NLS OPTIONS_DEFAULT=SQLITE +OPTIONS_SUB= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MSQLITE} -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 -.endif - -.if ${PORT_OPTIONS:MPGSQL} -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2 -.endif - -.if ${PORT_OPTIONS:MMYSQL} -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>0:databases/py-MySQLdb -.endif - -.if ${PORT_OPTIONS:MNLS} -PLIST_SUB+= NLS="" -.else -PLIST_SUB+= NLS="@comment " -.endif +SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 +PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2 +MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>0:databases/py-MySQLdb SCRIPTS= roundup-admin roundup-demo roundup-gettext roundup-mailgw \ roundup-server roundup-xmlrpc-server @@ -44,10 +31,10 @@ SCRIPTS= roundup-admin roundup-demo roun post-install: ${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/build/scripts-${PYTHON_VER}/,} ${STAGEDIR}${PREFIX}/bin .for f in roundup-admin roundup-demo roundup-mailgw roundup-server - ${INSTALL_MAN} ${WRKSRC}/share/man/man1/${f}.1 ${STAGEDIR}${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/share/man/man1/${f}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .endfor -.if ${PORT_OPTIONS:MNLS} + +post-install-NLS-on: @(cd ${WRKSRC}/build/share/locale/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/share/locale/) -.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701130928.v0D9SKC0073723>