svn commit: r357840 - head/www/roundup
Sofian Brabez
sbz at FreeBSD.org
Sun Jun 15 08:36:20 UTC 2014
Author: sbz
Date: Sun Jun 15 08:36:19 2014
New Revision: 357840
URL: http://svnweb.freebsd.org/changeset/ports/357840
QAT: https://qat.redports.org/buildarchive/r357840/
Log:
- Support STAGEDIR
Modified:
head/www/roundup/Makefile
head/www/roundup/pkg-plist
Modified: head/www/roundup/Makefile
==============================================================================
--- head/www/roundup/Makefile Sun Jun 15 08:35:09 2014 (r357839)
+++ head/www/roundup/Makefile Sun Jun 15 08:36:19 2014 (r357840)
@@ -18,7 +18,6 @@ USE_PYDISTUTILS=yes
OPTIONS_DEFINE= SQLITE PGSQL MYSQL NLS
OPTIONS_DEFAULT=SQLITE NLS
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSQLITE}
@@ -39,22 +38,16 @@ PLIST_SUB+= NLS=""
PLIST_SUB+= NLS="@comment "
.endif
-.if !defined(NO_INSTALL_MANPAGES)
-MAN1= roundup-admin.1 roundup-demo.1 roundup-mailgw.1 \
- roundup-server.1
-MANCOMPRESSED= no
-.endif
-
SCRIPTS= roundup-admin roundup-demo roundup-gettext roundup-mailgw \
roundup-server roundup-xmlrpc-server
post-install:
- @${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/build/scripts-${PYTHON_VER}/,} ${PREFIX}/bin
-.if !defined(NO_INSTALL_MANPAGES)
- @${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/share/man/man1/,} ${MAN1PREFIX}/man/man1
-.endif
+ ${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
+.endfor
.if ${PORT_OPTIONS:MNLS}
- @(cd ${WRKSRC}/build/share/locale/ && ${COPYTREE_SHARE} \* ${PREFIX}/share/locale/)
+ @(cd ${WRKSRC}/build/share/locale/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/share/locale/)
.endif
.include <bsd.port.mk>
Modified: head/www/roundup/pkg-plist
==============================================================================
--- head/www/roundup/pkg-plist Sun Jun 15 08:35:09 2014 (r357839)
+++ head/www/roundup/pkg-plist Sun Jun 15 08:36:19 2014 (r357840)
@@ -4,6 +4,10 @@ bin/roundup-gettext
bin/roundup-mailgw
bin/roundup-server
bin/roundup-xmlrpc-server
+man/man1/roundup-admin.1.gz
+man/man1/roundup-demo.1.gz
+man/man1/roundup-mailgw.1.gz
+man/man1/roundup-server.1.gz
%%PYTHON_SITELIBDIR%%/roundup/__init__.py
%%PYTHON_SITELIBDIR%%/roundup/__init__.pyc
%%PYTHON_SITELIBDIR%%/roundup/__init__.pyo
@@ -498,17 +502,17 @@ bin/roundup-xmlrpc-server
@dirrm %%DATADIR%%/templates/responsive/extensions
@dirrm %%DATADIR%%/templates/responsive/detectors
@dirrm %%DATADIR%%/templates/responsive
- at dirrm %%DATADIR%%/templates/minimal/static
+ at dirrmtry %%DATADIR%%/templates/minimal/static
@dirrm %%DATADIR%%/templates/minimal/html
@dirrm %%DATADIR%%/templates/minimal/extensions
@dirrm %%DATADIR%%/templates/minimal/detectors
@dirrm %%DATADIR%%/templates/minimal
- at dirrm %%DATADIR%%/templates/devel/static
+ at dirrmtry %%DATADIR%%/templates/devel/static
@dirrm %%DATADIR%%/templates/devel/html
@dirrm %%DATADIR%%/templates/devel/detectors
@dirrm %%DATADIR%%/templates/devel/extensions
@dirrm %%DATADIR%%/templates/devel
- at dirrm %%DATADIR%%/templates/classic/static
+ at dirrmtry %%DATADIR%%/templates/classic/static
@dirrm %%DATADIR%%/templates/classic/html
@dirrm %%DATADIR%%/templates/classic/extensions
@dirrm %%DATADIR%%/templates/classic/detectors
More information about the svn-ports-all
mailing list