aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-02-20 17:01:38 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-02-20 17:01:38 +0800
commit9e8145d2a2c35981691ca7cb1b2e41e90951b5d4 (patch)
treee6265b15ea10c05df870e6b6fbd42d3c06b790fc /multimedia
parentf817a7b34a03d51bce7b7f0f3f71f73862f4485b (diff)
downloadfreebsd-ports-gnome-9e8145d2a2c35981691ca7cb1b2e41e90951b5d4.tar.gz
freebsd-ports-gnome-9e8145d2a2c35981691ca7cb1b2e41e90951b5d4.tar.zst
freebsd-ports-gnome-9e8145d2a2c35981691ca7cb1b2e41e90951b5d4.zip
- Add LICENSE
- Remove bogus HAVE_CONFIGURE - Don't install license with docs - Switch to options helpers - Pet portlint
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vdr-plugin-markad/Makefile27
1 files changed, 17 insertions, 10 deletions
diff --git a/multimedia/vdr-plugin-markad/Makefile b/multimedia/vdr-plugin-markad/Makefile
index df9f0c374fb3..e3731ca4063b 100644
--- a/multimedia/vdr-plugin-markad/Makefile
+++ b/multimedia/vdr-plugin-markad/Makefile
@@ -11,19 +11,24 @@ DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERS
MAINTAINER= ports@FreeBSD.org
COMMENT= Video Disk Recorder - MarkAd plugin
-LIB_DEPENDS+= libavcodec.so:multimedia/ffmpeg
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
+
+RESTRICTED= Installs station logos
USES= execinfo pkgconfig tar:tgz
-HAVE_CONFIGURE= yes
-PORTDOCS= COPYING README HISTORY
-PORTDATA= logos
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}"
+DEFINES= -DDATADIR=\\\"${DATADIR}\\\" -DPREFIX=\\\"${PREFIX}\\\"
+MAKE_ARGS= DATADIR=${DATADIR} FREEBSD=1
+MAKE_ENV= DEFINES="${DEFINES}"
-RESTRICTED= Installs station logos
+PORTDOCS= README HISTORY
+PORTDATA= logos
+
+OPTIONS_DEFINE= DOCS NLS
.include "${.CURDIR}/../vdr/Makefile.plugins"
@@ -38,10 +43,12 @@ post-patch: post-patch-plugin
@${LN} -s ../lib ../locale ${WRKSRC}
pre-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
post-install: post-install-pluginlocales
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>