aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vdr-plugin-infosatepg
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-12-13 17:00:53 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-12-13 17:00:53 +0800
commit7f58480ffc170fb1f1003096825d70b314a8b9cf (patch)
tree4e5bd12df95e3c9e49ecc9fe4ba50894d5b7f2c6 /multimedia/vdr-plugin-infosatepg
parentc8ab9cc0b87d277146187398108c3b32561776cb (diff)
downloadfreebsd-ports-gnome-7f58480ffc170fb1f1003096825d70b314a8b9cf.tar.gz
freebsd-ports-gnome-7f58480ffc170fb1f1003096825d70b314a8b9cf.tar.zst
freebsd-ports-gnome-7f58480ffc170fb1f1003096825d70b314a8b9cf.zip
- Add LICENSE
- Remove bogus HAVE_CONFIGURE - Don't install license with docs - Switch to options helpers
Diffstat (limited to 'multimedia/vdr-plugin-infosatepg')
-rw-r--r--multimedia/vdr-plugin-infosatepg/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/multimedia/vdr-plugin-infosatepg/Makefile b/multimedia/vdr-plugin-infosatepg/Makefile
index 88a86d8e887f..fb8af6285ec5 100644
--- a/multimedia/vdr-plugin-infosatepg/Makefile
+++ b/multimedia/vdr-plugin-infosatepg/Makefile
@@ -11,22 +11,29 @@ DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERS
MAINTAINER= ports@FreeBSD.org
COMMENT= Video Disk Recorder - infosat EPG plugin
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
USES= tar:tgz
PATCH_STRIP= -p1
-HAVE_CONFIGURE= yes
-PORTDOCS= COPYING README HISTORY
WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION}
+PORTDOCS= README HISTORY
+
+OPTIONS_DEFINE= DOCS NLS
+
.include "${.CURDIR}/../vdr/Makefile.plugins"
post-patch: post-patch-plugin
pre-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
post-install: post-install-pluginlocales
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}/var/cache/vdr/${PLUGIN}
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
- ${MKDIR} ${STAGEDIR}/var/cache/vdr/${PLUGIN}
.include <bsd.port.mk>