summaryrefslogtreecommitdiff
path: root/multimedia/mplayer-share
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-06 14:06:17 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-06 14:06:17 +0000
commit43692cdf60724c1aa2f7d7e01cb53b2f1c005820 (patch)
tree54092d663f8486d7d742fb02a5022148f8cd8f34 /multimedia/mplayer-share
parenteca9cef8b01af9a775f978566d1655f22f3f07f6 (diff)
downloadpkgsrc-43692cdf60724c1aa2f7d7e01cb53b2f1c005820.tar.gz
DESTDIR support and convert to mdular buildlinks.
Diffstat (limited to 'multimedia/mplayer-share')
-rw-r--r--multimedia/mplayer-share/Makefile20
-rw-r--r--multimedia/mplayer-share/Makefile.common4
-rw-r--r--multimedia/mplayer-share/Makefile.depends4
3 files changed, 14 insertions, 14 deletions
diff --git a/multimedia/mplayer-share/Makefile b/multimedia/mplayer-share/Makefile
index 9782330497d..f6affc8d6ab 100644
--- a/multimedia/mplayer-share/Makefile
+++ b/multimedia/mplayer-share/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/10/25 21:00:46 rillig Exp $
+# $NetBSD: Makefile,v 1.12 2006/11/06 14:06:17 joerg Exp $
.include "Makefile.common"
@@ -10,19 +10,17 @@ DEPENDS+= mplayer-fonts-[0-9]*:../../fonts/mplayer-fonts
NO_BUILD= YES
NO_CONFIGURE= YES
-INSTALLATION_DIRS= ${PKGMANDIR}/man1
+INSTALLATION_DIRS= ${PKGMANDIR}/man1 share/mplayer/DOCS
do-install:
- ${INSTALL_MAN} ${WRKSRC}/DOCS/man/en/mplayer.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer
- ${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer/DOCS
- ${INSTALL_DATA} ${WRKSRC}/etc/codecs.conf ${PREFIX}/share/mplayer
- ${INSTALL_DATA} ${WRKSRC}/etc/input.conf ${PREFIX}/share/mplayer
+ ${INSTALL_MAN} ${WRKSRC}/DOCS/man/en/mplayer.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKSRC}/etc/codecs.conf ${DESTDIR}${PREFIX}/share/mplayer
+ ${INSTALL_DATA} ${WRKSRC}/etc/input.conf ${DESTDIR}${PREFIX}/share/mplayer
(cd ${WRKSRC}/DOCS && \
- ${PAX} -rwpppm * ${PREFIX}/share/mplayer/DOCS); \
- ${FIND} ${PREFIX}/share/mplayer/DOCS -type d -exec ${CHMOD} \
- ${PKGDIRMODE} \{\} \;
- ${FIND} ${PREFIX}/share/mplayer/DOCS -type f -exec ${CHMOD} \
+ ${PAX} -rwpppm * ${DESTDIR}${PREFIX}/share/mplayer/DOCS); \
+ ${FIND} ${DESTDIR}${PREFIX}/share/mplayer/DOCS -type d -exec ${CHMOD} \
+ ${PKGDIRMODE} \{\} \;
+ ${FIND} ${DESTDIR}${PREFIX}/share/mplayer/DOCS -type f -exec ${CHMOD} \
${SHAREMODE} \{\} \;
.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/mplayer-share/Makefile.common b/multimedia/mplayer-share/Makefile.common
index fa0e4bed43e..45db4382393 100644
--- a/multimedia/mplayer-share/Makefile.common
+++ b/multimedia/mplayer-share/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.33 2006/10/31 22:33:28 wiz Exp $
+# $NetBSD: Makefile.common,v 1.34 2006/11/06 14:06:17 joerg Exp $
MPLAYER_DIST_VERSION= 1.0rc1
@@ -18,6 +18,8 @@ DIST_SUBDIR= mplayer-${MPLAYER_PKG_VERSION}
MAINTAINER?= pkgsrc-users@NetBSD.org
HOMEPAGE?= http://www.mplayerhq.hu/
+PKG_DESTDIR_SUPPORT= user-destdir
+
#
# NOTE: gmplayer has its own distinfo file. if you are also updating
# gmplayer, you must ensure that *both* distinfo files contain the
diff --git a/multimedia/mplayer-share/Makefile.depends b/multimedia/mplayer-share/Makefile.depends
index 405be9d1836..815d8a5d186 100644
--- a/multimedia/mplayer-share/Makefile.depends
+++ b/multimedia/mplayer-share/Makefile.depends
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.depends,v 1.15 2006/10/31 22:33:28 wiz Exp $
+# $NetBSD: Makefile.depends,v 1.16 2006/11/06 14:06:17 joerg Exp $
#
DEPENDS+= mplayer-share>=${MPLAYER_PKG_VERSION}:../../multimedia/mplayer-share
@@ -10,4 +10,4 @@ GCC_REQD+= 2.95.3
.endif
.include "../../converters/libiconv/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
-.include "../../mk/x11.buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"