diff options
author | sbd <sbd@pkgsrc.org> | 2013-03-25 09:52:33 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2013-03-25 09:52:33 +0000 |
commit | 5b44fa2e2bc9c87bdc67e91b98b5b04e93c69ec1 (patch) | |
tree | b6bcb35701eba89ce212962ea445db982ad62944 /sysutils | |
parent | 82d70584091378fd8d2f427a7bdf5c7bcf5eb8ef (diff) | |
download | pkgsrc-5b44fa2e2bc9c87bdc67e91b98b5b04e93c69ec1.tar.gz |
Only run the post-install target if it's needed.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/deforaos-browser/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/deforaos-browser/Makefile b/sysutils/deforaos-browser/Makefile index 4bd6f312d74..e9327c08658 100644 --- a/sysutils/deforaos-browser/Makefile +++ b/sysutils/deforaos-browser/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2013/03/13 20:14:53 khorben Exp $ +# $NetBSD: Makefile,v 1.5 2013/03/25 09:52:33 sbd Exp $ # DISTNAME= Browser-0.4.11 @@ -22,6 +22,9 @@ MAKE_FLAGS+= DESTDIR=${DESTDIR} MAKE_FLAGS+= PREFIX=${PREFIX} AUTO_MKDIRS= yes +.include "../../mk/bsd.prefs.mk" + +.if ${PKGMANDIR} != "share/man" post-install: ${MV} ${DESTDIR}${PREFIX}/share/man/man1/browser.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/browser.1 ${MV} ${DESTDIR}${PREFIX}/share/man/man1/copy.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/copy.1 @@ -34,6 +37,7 @@ post-install: ${MV} ${DESTDIR}${PREFIX}/share/man/man1/view.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/view.1 ${RMDIR} ${DESTDIR}${PREFIX}/share/man/man1 ${RMDIR} ${DESTDIR}${PREFIX}/share/man +.endif .include "options.mk" |