blob: 13adf6634300341bfc4d6fb1902b201ace3c6b84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.38 2010/01/18 09:59:17 wiz Exp $
#
DISTNAME= gmencoder-0.1.0
PKGREVISION= 26
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gmencoder/}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gmencoder.sourceforge.net/
COMMENT= GNOME2 frontend to mencoder
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= mencoder>=0.90:../../multimedia/mencoder
DEPENDS+= mplayer>=0.90:../../multimedia/mplayer
GNU_CONFIGURE= yes
USE_TOOLS+= gmake msgfmt pkg-config
USE_PKGLOCALEDIR= yes
CFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
EGDIR= ${PREFIX}/share/examples/gmencoder
CONF_FILES= ${EGDIR}/gmencoder_opts ${PKG_SYSCONFDIR}/gmencoder_opts
INSTALLATION_DIRS= ${EGDIR}
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} ${WRKSRC}/etc/gmencoder_opts ${DESTDIR}${EGDIR}
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|