summaryrefslogtreecommitdiff
path: root/multimedia/gmencoder/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-01-26 12:12:06 +0000
committerjmmv <jmmv@pkgsrc.org>2004-01-26 12:12:06 +0000
commitdf418ec75062045c3f8878351eb6847503c63f29 (patch)
tree4cdbdbb5edcf1d9a0caeed15e2f7549f2cf32841 /multimedia/gmencoder/Makefile
parent5f9a42b2f5661473bb65a5277ef5642636f083a7 (diff)
downloadpkgsrc-df418ec75062045c3f8878351eb6847503c63f29.tar.gz
Move gmencoder to the multimedia category (coming from graphics).
This is version 0.1.0nb6.
Diffstat (limited to 'multimedia/gmencoder/Makefile')
-rw-r--r--multimedia/gmencoder/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/multimedia/gmencoder/Makefile b/multimedia/gmencoder/Makefile
new file mode 100644
index 00000000000..19941ead9a2
--- /dev/null
+++ b/multimedia/gmencoder/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/26 12:12:06 jmmv Exp $
+#
+
+DISTNAME= gmencoder-0.1.0
+PKGREVISION= 6
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gmencoder/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= xtraeme@NetBSD.org
+HOMEPAGE= http://gmencoder.sourceforge.net/
+COMMENT= GNOME2 frontend to mencoder
+
+BUILD_USES_MSGFMT= yes
+DEPENDS+= gnome2-dirs>=1.2:../../misc/gnome2-dirs
+DEPENDS+= mencoder>=0.90:../../multimedia/mencoder
+DEPENDS+= mplayer>=0.90:../../multimedia/mplayer
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK2= yes
+USE_GNU_TOOLS+= make
+USE_PKGINSTALL= yes
+USE_PKGLOCALEDIR= yes
+USE_X11= yes
+
+CFLAGS+= -DPKG_SYSCONFDIR=\"\\\"${PKG_SYSCONFDIR}\\\"\"
+EGDIR= ${PREFIX}/share/examples/gmencoder
+CONF_FILES= ${EGDIR}/gmencoder_opts ${PKG_SYSCONFDIR}/gmencoder_opts
+
+post-build:
+ ${MV} ${WRKSRC}/etc/gmencoder_opts ${WRKSRC}/etc/gmencoder_opts.in
+ ${SED} -e 's|/usr/local|${PREFIX}|g' \
+ < ${WRKSRC}/etc/gmencoder_opts.in > ${WRKSRC}/etc/gmencoder_opts
+
+post-install:
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/etc/gmencoder_opts ${EGDIR}
+
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../devel/libgnomeui/buildlink2.mk"
+.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"