aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vdr-plugin-markad/Makefile
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2011-04-16 18:23:52 +0000
committerJuergen Lock <nox@FreeBSD.org>2011-04-16 18:23:52 +0000
commitf1757bc3f6d54d496874e4dc603825072e7c0042 (patch)
tree536d36c8b4fc0085d7634092897771f6047c67cc /multimedia/vdr-plugin-markad/Makefile
parentd594582a6dbb9242bffb6288e5628a5932ce1fc7 (diff)
downloadports-f1757bc3f6d54d496874e4dc603825072e7c0042.tar.gz
ports-f1757bc3f6d54d496874e4dc603825072e7c0042.zip
MarkAd marks advertisements in VDR recordings. WWW: http://projects.vdr-developer.org/projects/plg-markad
Notes
Notes: svn path=/head/; revision=272812
Diffstat (limited to 'multimedia/vdr-plugin-markad/Makefile')
-rw-r--r--multimedia/vdr-plugin-markad/Makefile58
1 files changed, 58 insertions, 0 deletions
diff --git a/multimedia/vdr-plugin-markad/Makefile b/multimedia/vdr-plugin-markad/Makefile
new file mode 100644
index 000000000000..cfea1f3ef1f7
--- /dev/null
+++ b/multimedia/vdr-plugin-markad/Makefile
@@ -0,0 +1,58 @@
+# New ports collection makefile for: vdr-plugin-markad
+# Date created: Wed Mar 30 22:35:19 CEST 2011
+# Whom: Juergen Lock <nox@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= vdr-plugin-markad
+PORTVERSION= 0.1.2
+CATEGORIES= multimedia
+MASTER_SITES= http://projects.vdr-developer.org/attachments/download/578/
+DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= nox@FreeBSD.org
+COMMENT= Video Disk Recorder - MarkAd plugin
+
+LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg \
+ execinfo.1:${PORTSDIR}/devel/libexecinfo
+
+PATCH_STRIP= -p1
+HAVE_CONFIGURE= yes
+PORTDOCS= COPYING README
+PORTDATA= logos
+MAKE_JOBS_SAFE= yes
+WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION}
+VDR_PLUGIN_MAKEFILES= ${WRKSRC}/command/Makefile ${WRKSRC}/plugin/Makefile
+DEFINES+= -DDATADIR=\\\"${DATADIR}\\\" -DPREFIX=\\\"${PREFIX}\\\"
+MAKE_ARGS+= DATADIR=${DATADIR} FREEBSD=1
+MAKE_ENV+= DEFINES="${DEFINES}"
+
+RESTRICTED= installs station logos
+
+.include <bsd.port.pre.mk>
+
+.include "${.CURDIR}/../vdr/Makefile.plugins"
+
+.if ${OSVERSION} < 800000
+IGNORE= needs getline(3)
+.endif
+
+# for libexecinfo: (so that __builtin_frame_address() finds the top
+# of the stack)
+.if ${ARCH} == "amd64"
+CFLAGS+= -fno-omit-frame-pointer
+CPPFLAGS+= -fno-omit-frame-pointer
+.endif
+
+post-patch: post-patch-plugin
+ @${LN} -s ../lib ../locale ${WRKSRC}
+
+post-install: post-install-pluginlocales
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
+.endif
+
+.include <bsd.port.post.mk>