summaryrefslogtreecommitdiff
path: root/multimedia/deforaos-player/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/deforaos-player/Makefile')
-rw-r--r--multimedia/deforaos-player/Makefile19
1 files changed, 14 insertions, 5 deletions
diff --git a/multimedia/deforaos-player/Makefile b/multimedia/deforaos-player/Makefile
index 055226b21c7..88a94e7e0c2 100644
--- a/multimedia/deforaos-player/Makefile
+++ b/multimedia/deforaos-player/Makefile
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.2 2013/02/16 11:23:31 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2013/02/23 17:39:24 khorben Exp $
#
-DISTNAME= Player-0.1.4
-PKGNAME= deforaos-player-0.1.4
-PKGREVISION= 1
+DISTNAME= Player-0.1.5
+PKGNAME= deforaos-player-0.1.5
CATEGORIES= multimedia
-MASTER_SITES= http://www.defora.org/os/download/download/3708/
+MASTER_SITES= http://www.defora.org/os/download/download/4279/
MAINTAINER= khorben@defora.org
HOMEPAGE= http://www.defora.org/
@@ -16,10 +15,20 @@ LICENSE= gnu-gpl-v3
USE_TOOLS+= pkg-config
USE_TOOLS+= xgettext
+BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
+BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
+
DEPENDS+= mplayer-[0-9]*:../../multimedia/mplayer
MAKE_FLAGS+= DESTDIR=${DESTDIR}
MAKE_FLAGS+= PREFIX=${PREFIX}
+AUTO_MKDIRS= yes
+
+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
.include "options.mk"