aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-01-16 17:01:17 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-01-16 17:01:17 +0800
commit98ad86618a77e1c9b92ffe105158f0e30f0b735e (patch)
tree60419c30a575157651dc82023c17601c087ae8f4 /multimedia
parenta7611ebd10efea2fe9b4f437802b06e24eac910e (diff)
downloadfreebsd-ports-gnome-98ad86618a77e1c9b92ffe105158f0e30f0b735e.tar.gz
freebsd-ports-gnome-98ad86618a77e1c9b92ffe105158f0e30f0b735e.tar.zst
freebsd-ports-gnome-98ad86618a77e1c9b92ffe105158f0e30f0b735e.zip
- Add LICENSE
- Remove bogus HAVE_CONFIGURE - Don't install license with docs - Switch to options helpers
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vdr-plugin-osdteletext/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/multimedia/vdr-plugin-osdteletext/Makefile b/multimedia/vdr-plugin-osdteletext/Makefile
index 9cc84c043541..efefa830fc6e 100644
--- a/multimedia/vdr-plugin-osdteletext/Makefile
+++ b/multimedia/vdr-plugin-osdteletext/Makefile
@@ -11,22 +11,29 @@ DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERS
MAINTAINER= ports@FreeBSD.org
COMMENT= Video Disk Recorder - OSD teletext 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/vtx
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
- ${MKDIR} ${STAGEDIR}/var/cache/vdr/vtx
.include <bsd.port.mk>