diff options
author | knu <knu@FreeBSD.org> | 2000-06-05 14:59:26 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-06-05 14:59:26 +0800 |
commit | 52d344a53cb8c85f444f9933b9905537d0b6694b (patch) | |
tree | d56cb79d2197ae9434765401f71341a5bab0594a /devel | |
parent | d626b533140bff5d340fb2b0f6e28749044ab29a (diff) | |
download | freebsd-ports-graphics-52d344a53cb8c85f444f9933b9905537d0b6694b.tar.gz freebsd-ports-graphics-52d344a53cb8c85f444f9933b9905537d0b6694b.tar.zst freebsd-ports-graphics-52d344a53cb8c85f444f9933b9905537d0b6694b.zip |
Remove subdirectories too.
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 ce6c059a89e..5168b7f99be 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 ce6c059a89e..5168b7f99be 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> |