aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-02-05 17:01:31 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-02-05 17:01:31 +0800
commit75816353a6ea96e4f1b213f7abe5c90c14af7fe3 (patch)
treebaae5642876c1c055bce35597add9b1fcc9b4635 /multimedia
parent71a0f8cc18fdd542be57197ad284edaf6ae0eaae (diff)
downloadfreebsd-ports-gnome-75816353a6ea96e4f1b213f7abe5c90c14af7fe3.tar.gz
freebsd-ports-gnome-75816353a6ea96e4f1b213f7abe5c90c14af7fe3.tar.zst
freebsd-ports-gnome-75816353a6ea96e4f1b213f7abe5c90c14af7fe3.zip
- Remove bogus HAVE_CONFIGURE
- Don't install license with docs - Switch to options helpers
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vdr-plugin-xvdr/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/multimedia/vdr-plugin-xvdr/Makefile b/multimedia/vdr-plugin-xvdr/Makefile
index 469e8e1a5d58..d3445178de27 100644
--- a/multimedia/vdr-plugin-xvdr/Makefile
+++ b/multimedia/vdr-plugin-xvdr/Makefile
@@ -16,22 +16,26 @@ LICENSE_FILE= ${WRKSRC}/COPYING
GITHASH= e4cab47
PATCH_STRIP= -p1
-HAVE_CONFIGURE= yes
-PORTDOCS= COPYING README HISTORY
WRKSRC= ${WRKDIR}/pipelka-${PORTNAME}-${GITHASH}
+PORTDOCS= README HISTORY
+
+OPTIONS_DEFINE= DOCS
+
.include "${.CURDIR}/../vdr/Makefile.plugins"
post-patch: post-patch-plugin
pre-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
post-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}
${INSTALL_DATA} ${WRKSRC}/${PLUGIN}/allowed_hosts.conf \
${STAGEDIR}${PREFIX}/etc/vdr/plugins/${PLUGIN}/allowed_hosts.conf.sample
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>