diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-12-21 17:00:55 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-12-21 17:00:55 +0800 |
commit | ef5605b158cd83b9c08eae409cfc768c6c811da6 (patch) | |
tree | 7569e5f5118eea1359480a0e2f5d12af00a39d28 /multimedia | |
parent | 8a960cda5c7059703acee6daa8d1154af6ccfcc7 (diff) | |
download | freebsd-ports-gnome-ef5605b158cd83b9c08eae409cfc768c6c811da6.tar.gz freebsd-ports-gnome-ef5605b158cd83b9c08eae409cfc768c6c811da6.tar.zst freebsd-ports-gnome-ef5605b158cd83b9c08eae409cfc768c6c811da6.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-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> |