summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2015-08-23 23:20:46 +0000
committerkhorben <khorben@pkgsrc.org>2015-08-23 23:20:46 +0000
commite9b287cf5994c51800b9a807db5a9d8a510bd979 (patch)
treee96b141cbdc8026fac5be626a1a15a3e62497399 /multimedia
parent8973c1bcdd1b5f5284632d3c00d47eebe0408a90 (diff)
downloadpkgsrc-e9b287cf5994c51800b9a807db5a9d8a510bd979.tar.gz
Only attempt to move the manual pages if really needed
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/deforaos-player/Makefile6
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"