diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-12-21 09:00:55 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-12-21 09:00:55 +0000 |
commit | a919e797f888a9196acab74e765c2ee4dcc381bd (patch) | |
tree | 7569e5f5118eea1359480a0e2f5d12af00a39d28 | |
parent | 12c331ef626ea0182ef3955da77bdae45a935e43 (diff) | |
download | ports-a919e797f888a9196acab74e765c2ee4dcc381bd.tar.gz ports-a919e797f888a9196acab74e765c2ee4dcc381bd.zip |
- Add LICENSE
- Remove bogus HAVE_CONFIGURE
- Don't install license with docs
- Switch to options helpers
Notes
Notes:
svn path=/head/; revision=429048
-rw-r--r-- | multimedia/vdr-plugin-wirbelscan/Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/multimedia/vdr-plugin-wirbelscan/Makefile b/multimedia/vdr-plugin-wirbelscan/Makefile index ed26f592c406..699f4b1d2998 100644 --- a/multimedia/vdr-plugin-wirbelscan/Makefile +++ b/multimedia/vdr-plugin-wirbelscan/Makefile @@ -11,23 +11,30 @@ DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERS MAINTAINER= ports@FreeBSD.org COMMENT= Video Disk Recorder - wirbelscan plugin +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + USES= dos2unix tar:tgz DOS2UNIX_FILES= scanner.c 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 - ${REINPLACE_CMD} -f ${FILESDIR}/types.sed ${WRKSRC}/*.c ${WRKSRC}/*.h + @${REINPLACE_CMD} -f ${FILESDIR}/types.sed ${WRKSRC}/*.c ${WRKSRC}/*.h 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> |