diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2014-06-27 13:47:29 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2014-06-27 13:47:29 +0000 |
commit | 9926b0a5c9f6150b8840543ed57350d2c44029cf (patch) | |
tree | ec03a7f16f643eedd3ffab96338bc670ea56519b /devel/cvsweb | |
parent | 607d91f3b75ee624a1fc89a1d53ceed056e1557e (diff) | |
download | ports-9926b0a5c9f6150b8840543ed57350d2c44029cf.tar.gz ports-9926b0a5c9f6150b8840543ed57350d2c44029cf.zip |
Notes
Diffstat (limited to 'devel/cvsweb')
-rw-r--r-- | devel/cvsweb/Makefile | 25 | ||||
-rw-r--r-- | devel/cvsweb/pkg-plist | 2 |
2 files changed, 10 insertions, 17 deletions
diff --git a/devel/cvsweb/Makefile b/devel/cvsweb/Makefile index 63dcc97a607e..c4b862d5a45e 100644 --- a/devel/cvsweb/Makefile +++ b/devel/cvsweb/Makefile @@ -19,7 +19,6 @@ CONFLICTS= cvsweb-3.* NO_BUILD= yes USES= perl5 -NO_STAGE= yes .include <bsd.port.pre.mk> # Specify where your repository belongs. @@ -61,25 +60,17 @@ post-patch: ${WRKSRC}/cvsweb.conf do-install: - ${MKDIR} ${PREFIX}/${CGIDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${PREFIX}/${CGIDIR}/ - ${MKDIR} ${PREFIX}/etc/cvsweb + @${MKDIR} ${STAGEDIR}${PREFIX}/${CGIDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${STAGEDIR}${PREFIX}/${CGIDIR}/ + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/cvsweb .for f in ${CONFFILES} - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/etc/cvsweb/${f}.dist + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/etc/cvsweb/${f}.dist .endfor - ${MKDIR} ${PREFIX}/${ICONSDIR}/cvsweb - ${INSTALL_DATA} ${WRKSRC}/icons/* ${PREFIX}/${ICONSDIR}/cvsweb/ -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/${ICONSDIR}/cvsweb + ${INSTALL_DATA} ${WRKSRC}/icons/* ${STAGEDIR}${PREFIX}/${ICONSDIR}/cvsweb/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ChangeLog INSTALL README README.FreeBSD TODO TODO.FreeBSD - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor -.endif - -post-install: -.if defined(PACKAGE_BUILDING) - ${ECHO_CMD} "@unexec rmdir %D/${CGIDIR} %D/${ICONSDIR} 2>/dev/null || true" >> ${TMPPLIST} -.endif - @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> diff --git a/devel/cvsweb/pkg-plist b/devel/cvsweb/pkg-plist index 2fba7b9a80db..b30e2de29c7c 100644 --- a/devel/cvsweb/pkg-plist +++ b/devel/cvsweb/pkg-plist @@ -19,3 +19,5 @@ etc/cvsweb/cvsweb.conf-ruby.dist %%ICONSDIR%%/cvsweb/minitext.gif %%ICONSDIR%%/cvsweb/text.gif @dirrm %%ICONSDIR%%/cvsweb +@dirrmtry %%CGIDIR%% +@dirrmtry %%ICONSDIR%% |