1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

- Remove bogus HAVE_CONFIGURE

- Don't install license with docs
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2017-02-05 09:01:31 +00:00
parent 21b07c9f57
commit 00b0fcdee3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433386

View File

@ -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>