diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2004-04-14 07:12:47 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2004-04-14 07:12:47 +0000 |
commit | 6a16eba649cf5f7b62a3f7feed0b36e1ac951083 (patch) | |
tree | 6bb387b508e48d3bca25ec3badf1dc53474b7a19 /www | |
parent | Take over maintainership of two ports related to ftp/curl as a (diff) |
Use DOCSDIR macro where it possible.
Fix dynamic pkg-plist by adding @dirrm %%DOCSDIR%%.
Bump PORTREVISION.
Diffstat (limited to 'www')
-rw-r--r-- | www/mmosaic/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/www/mmosaic/Makefile b/www/mmosaic/Makefile index 8a1e65a27e28..10d1ea8c475e 100644 --- a/www/mmosaic/Makefile +++ b/www/mmosaic/Makefile @@ -7,6 +7,7 @@ PORTNAME= mmosaic PORTVERSION= 3.7.2 +PORTREVISION?= 1 CATEGORIES= www MASTER_SITES= ftp://ftp.enst.fr/pub/mbone/mMosaic/ \ ftp://ftp.uni-koeln.de/net/inet/WWW/mosaic/unix/ \ @@ -36,14 +37,19 @@ post-patch: pre-install: ${ECHO_CMD} bin/mmosaic > ${PLIST} +.if !defined(NOPORTDOCS) cd ${WRKSRC}/Copyrights; for i in `${FIND} * -type f`; do \ - ${ECHO_CMD} share/doc/mmosaic/$${i} >> ${PLIST}; \ + ${ECHO_CMD} %%DOCSDIR%%/$${i} >> ${PLIST}; \ done + ${ECHO_CMD} @dirrm %%DOCSDIR%% >> ${PLIST} +.endif do-install: - ${MKDIR} ${PREFIX}/share/doc/mmosaic/ - ${INSTALL_DATA} ${WRKSRC}/Copyrights/* ${PREFIX}/share/doc/mmosaic/ -# ${INSTALL_DATA} ${WRKSRC}/app-def/app-defaults.color ${PREFIX}/lib/X11/app-defaults/mMosaic ${INSTALL_PROGRAM} ${WRKSRC}/src/mMosaic ${PREFIX}/bin/mmosaic +# ${INSTALL_DATA} ${WRKSRC}/app-def/app-defaults.color ${PREFIX}/lib/X11/app-defaults/mMosaic +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/Copyrights/* ${DOCSDIR}/ +.endif .include <bsd.port.mk> |