diff options
author | khorben <khorben@pkgsrc.org> | 2015-08-23 23:03:18 +0000 |
---|---|---|
committer | khorben <khorben@pkgsrc.org> | 2015-08-23 23:03:18 +0000 |
commit | 10a0d07d06012e65dd108520ff911fca41a0e116 (patch) | |
tree | 4451ba773ee72ff0b9322b91fd6adf82bdc389bf /x11/deforaos-locker | |
parent | b6ee5b6368576b1f9df4dff05ab1aa519e3ad64e (diff) | |
download | pkgsrc-10a0d07d06012e65dd108520ff911fca41a0e116.tar.gz |
Only attempt to move the manual pages if really needed
Diffstat (limited to 'x11/deforaos-locker')
-rw-r--r-- | x11/deforaos-locker/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/deforaos-locker/Makefile b/x11/deforaos-locker/Makefile index af7ffa6e4d2..703ced7a3d8 100644 --- a/x11/deforaos-locker/Makefile +++ b/x11/deforaos-locker/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2015/08/16 17:43:09 joerg Exp $ +# $NetBSD: Makefile,v 1.14 2015/08/23 23:03:18 khorben Exp $ # DISTNAME= Locker-0.3.0 @@ -22,6 +22,7 @@ MAKE_FLAGS+= DESTDIR=${DESTDIR} MAKE_FLAGS+= PREFIX=${PREFIX} AUTO_MKDIRS= yes +.if ${PKGMANDIR} != "share/man" post-install: ${MV} ${DESTDIR}${PREFIX}/share/man/man1/locker.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/locker.1 ${MV} ${DESTDIR}${PREFIX}/share/man/man1/lockerctl.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/lockerctl.1 @@ -30,6 +31,7 @@ post-install: ${RMDIR} ${DESTDIR}${PREFIX}/share/man/man1 ${RMDIR} ${DESTDIR}${PREFIX}/share/man/html1 ${RMDIR} ${DESTDIR}${PREFIX}/share/man +.endif .include "options.mk" |