aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vdr-plugin-markad/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-02-20 09:01:38 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-02-20 09:01:38 +0000
commit64ca64fa0fa5d7f4bde8b60bf3edf4853e4ec46e (patch)
treee6265b15ea10c05df870e6b6fbd42d3c06b790fc /multimedia/vdr-plugin-markad/Makefile
parent3f2c6cdeb64d766fb41823d3422b8a9d28a01951 (diff)
downloadports-64ca64fa0fa5d7f4bde8b60bf3edf4853e4ec46e.tar.gz
ports-64ca64fa0fa5d7f4bde8b60bf3edf4853e4ec46e.zip
- Add LICENSE
- Remove bogus HAVE_CONFIGURE - Don't install license with docs - Switch to options helpers - Pet portlint
Notes
Notes: svn path=/head/; revision=434440
Diffstat (limited to 'multimedia/vdr-plugin-markad/Makefile')
-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>