diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cvsweb/Makefile | 6 | ||||
-rw-r--r-- | devel/cvsweb3/Makefile | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/devel/cvsweb/Makefile b/devel/cvsweb/Makefile index ce6c059a89ed..5168b7f99bef 100644 --- a/devel/cvsweb/Makefile +++ b/devel/cvsweb/Makefile @@ -48,11 +48,11 @@ do-install: ${MKDIR} ${PREFIX}/share/doc/cvsweb cd ${WRKSRC} && ${INSTALL_DATA} INSTALL README TODO ${PREFIX}/share/doc/cvsweb/ .endif -.if defined(PACKAGE_BUILDING) - @${ECHO} "@dirrm share/apache" >> ${TMPPLIST} -.endif post-install: +.if defined(PACKAGE_BUILDING) + ${ECHO} "@unexec rmdir -p %D/${CGIDIR} %D/${ICONSDIR} 2>/dev/null || true" >> ${TMPPLIST} +.endif @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/devel/cvsweb3/Makefile b/devel/cvsweb3/Makefile index ce6c059a89ed..5168b7f99bef 100644 --- a/devel/cvsweb3/Makefile +++ b/devel/cvsweb3/Makefile @@ -48,11 +48,11 @@ do-install: ${MKDIR} ${PREFIX}/share/doc/cvsweb cd ${WRKSRC} && ${INSTALL_DATA} INSTALL README TODO ${PREFIX}/share/doc/cvsweb/ .endif -.if defined(PACKAGE_BUILDING) - @${ECHO} "@dirrm share/apache" >> ${TMPPLIST} -.endif post-install: +.if defined(PACKAGE_BUILDING) + ${ECHO} "@unexec rmdir -p %D/${CGIDIR} %D/${ICONSDIR} 2>/dev/null || true" >> ${TMPPLIST} +.endif @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> |