diff options
author | khorben <khorben@pkgsrc.org> | 2015-08-23 23:20:46 +0000 |
---|---|---|
committer | khorben <khorben@pkgsrc.org> | 2015-08-23 23:20:46 +0000 |
commit | e9b287cf5994c51800b9a807db5a9d8a510bd979 (patch) | |
tree | e96b141cbdc8026fac5be626a1a15a3e62497399 /multimedia | |
parent | 8973c1bcdd1b5f5284632d3c00d47eebe0408a90 (diff) | |
download | pkgsrc-e9b287cf5994c51800b9a807db5a9d8a510bd979.tar.gz |
Only attempt to move the manual pages if really needed
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/deforaos-player/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/multimedia/deforaos-player/Makefile b/multimedia/deforaos-player/Makefile index 054a81eae79..87101d1ed3e 100644 --- a/multimedia/deforaos-player/Makefile +++ b/multimedia/deforaos-player/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2015/04/25 14:23:38 tnn Exp $ +# $NetBSD: Makefile,v 1.12 2015/08/23 23:20:46 khorben Exp $ # DISTNAME= Player-0.1.6 @@ -25,11 +25,15 @@ 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/player.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/player.1 ${MV} ${DESTDIR}${PREFIX}/share/man/man1/playerctl.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/playerctl.1 ${RMDIR} ${DESTDIR}${PREFIX}/share/man/man1 ${RMDIR} ${DESTDIR}${PREFIX}/share/man +.endif .include "options.mk" |