summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSofian Brabez <sbz@FreeBSD.org>2014-06-15 08:36:19 +0000
committerSofian Brabez <sbz@FreeBSD.org>2014-06-15 08:36:19 +0000
commit0211530d7b456b20d760d6c59d2813a1001ffd01 (patch)
treec1c2fff2a44148c42015da88d97fcf3002177672
parent- Update to 1.83 (diff)
- Support STAGEDIR
-rw-r--r--www/roundup/Makefile17
-rw-r--r--www/roundup/pkg-plist10
2 files changed, 12 insertions, 15 deletions
diff --git a/www/roundup/Makefile b/www/roundup/Makefile
index aa0e59732328..b23df0c3fa6c 100644
--- a/www/roundup/Makefile
+++ b/www/roundup/Makefile
@@ -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>
diff --git a/www/roundup/pkg-plist b/www/roundup/pkg-plist
index 8fefd488afc6..385aabf64c95 100644
--- a/www/roundup/pkg-plist
+++ b/www/roundup/pkg-plist
@@ -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
-@dirrm %%DATADIR%%/templates/minimal/static
+@dirrmtry %%DATADIR%%/templates/minimal/static
@dirrm %%DATADIR%%/templates/minimal/html
@dirrm %%DATADIR%%/templates/minimal/extensions
@dirrm %%DATADIR%%/templates/minimal/detectors
@dirrm %%DATADIR%%/templates/minimal
-@dirrm %%DATADIR%%/templates/devel/static
+@dirrmtry %%DATADIR%%/templates/devel/static
@dirrm %%DATADIR%%/templates/devel/html
@dirrm %%DATADIR%%/templates/devel/detectors
@dirrm %%DATADIR%%/templates/devel/extensions
@dirrm %%DATADIR%%/templates/devel
-@dirrm %%DATADIR%%/templates/classic/static
+@dirrmtry %%DATADIR%%/templates/classic/static
@dirrm %%DATADIR%%/templates/classic/html
@dirrm %%DATADIR%%/templates/classic/extensions
@dirrm %%DATADIR%%/templates/classic/detectors