summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2002-04-21 08:05:23 +0000
committerrh <rh@pkgsrc.org>2002-04-21 08:05:23 +0000
commitdd115018c07da67274eca90cbf55a938aab566a6 (patch)
tree7ec910d5d3249cc2061b9f958074b82f0e456dc3 /graphics
parent45892d403131a85966ebcdfbac0cbe01617010b3 (diff)
downloadpkgsrc-dd115018c07da67274eca90cbf55a938aab566a6.tar.gz
Split out 'Makefile.common' for upcoming import of gmplayer package.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mplayer/Makefile42
-rw-r--r--graphics/mplayer/Makefile.common33
2 files changed, 37 insertions, 38 deletions
diff --git a/graphics/mplayer/Makefile b/graphics/mplayer/Makefile
index 15923a4630a..74be63699f2 100644
--- a/graphics/mplayer/Makefile
+++ b/graphics/mplayer/Makefile
@@ -1,44 +1,10 @@
-# $NetBSD: Makefile,v 1.19 2002/03/13 17:37:13 fredb Exp $
+# $NetBSD: Makefile,v 1.20 2002/04/21 08:05:23 rh Exp $
-DISTNAME= MPlayer-0.60
-PKGNAME= mplayer-0.60
+.include "Makefile.common"
+
+PKGNAME= ${DISTNAME:S/MP/mp/}
PKGREVISION= 2
-CATEGORIES= graphics
MASTER_SITES= http://mp.dev.hu/MPlayer/releases/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= svs@ropnet.ru,zuntum@netbsd.org
-HOMEPAGE= http://www.mplayerhq.hu/
-COMMENT= Software only MPEG-1/2/4 video decoder
-
-ONLY_FOR_PLATFORM= NetBSD-1.5[Y-Z]*-i386 NetBSD-1.[6-9]*-i386
-
-DEPENDS+= win32-codecs>=010122:../../graphics/win32-codecs
-BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
-REPLACE_BUILDLINK_PATTERNS+= *.mak
-
-RESTRICTED= "unsure of the license"
-NO_BIN_ON_CDROM= ${RESTRICTED}
-NO_BIN_ON_FTP= ${RESTRICTED}
-
-USE_X11= YES
-USE_GMAKE= YES
-HAS_CONFIGURE= YES
-
-WRKSRC= ${WRKDIR}/${DISTNAME}
-
-CONFIGURE_ARGS+= --prefix="${PREFIX}"
-CONFIGURE_ARGS+= --with-extraincdir="${BUILDLINK_DIR}/include"
-CONFIGURE_ARGS+= --with-extralibdir="${LOCALBASE}/lib"
-CONFIGURE_ARGS+= --with-win32libdir="${LOCALBASE}/lib/win32"
-CONFIGURE_ARGS+= --enable-dvdread
-
-# The configure script attempts to execute compiled programs in /tmp, but
-# /tmp may be mounted with noexec flag set...
-CONFIGURE_ENV+= TMPDIR=${WRKDIR}
-
-post-configure:
- ${CP} ${FILESDIR}/vcd_read_nbsd.c ${WRKSRC}/libmpdemux/vcd_read_nbsd.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mplayer ${PREFIX}/bin
diff --git a/graphics/mplayer/Makefile.common b/graphics/mplayer/Makefile.common
new file mode 100644
index 00000000000..2fdd5e59189
--- /dev/null
+++ b/graphics/mplayer/Makefile.common
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile.common,v 1.1 2002/04/21 08:05:23 rh Exp $
+
+DISTNAME?= MPlayer-0.60
+CATEGORIES?= graphics
+MASTER_SITES= http://mp.dev.hu/MPlayer/releases/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER?= svs@ropnet.ru,zuntum@netbsd.org
+HOMEPAGE?= http://www.mplayerhq.hu/
+COMMENT?= Software only MPEG-1/2/4 video decoder
+
+ONLY_FOR_PLATFORM?= NetBSD-1.5[Y-Z]*-i386 NetBSD-1.[6-9]*-i386
+
+RESTRICTED?= "unsure of the license"
+NO_BIN_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+
+USE_X11= YES
+USE_GMAKE= YES
+HAS_CONFIGURE= YES
+
+CONFIGURE_ARGS+= --prefix="${PREFIX}"
+CONFIGURE_ARGS+= --with-extraincdir="${BUILDLINK_DIR}/include"
+CONFIGURE_ARGS+= --with-extralibdir="${LOCALBASE}/lib"
+CONFIGURE_ARGS+= --with-win32libdir="${LOCALBASE}/lib/win32"
+CONFIGURE_ARGS+= --enable-dvdread
+
+# The configure script attempts to execute compiled programs in /tmp, but
+# /tmp may be mounted with noexec flag set...
+CONFIGURE_ENV+= TMPDIR=${WRKDIR}
+
+post-configure:
+ ${CP} ${FILESDIR}/vcd_read_nbsd.c ${WRKSRC}/libmpdemux/vcd_read_nbsd.h