diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-08-28 13:39:56 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-08-28 13:39:56 +0000 |
commit | e638299edcfecb35838ad7fad0b71c4fa5ed7639 (patch) | |
tree | 30df43bd9eff2c4d3d713edce11d9d1da280e753 /multimedia/flvstreamer | |
parent | 3c87974395c0f207b0768da251c721e0125b48b7 (diff) |
- Switch to options helpers
- While here, add some NO_ARCHes and couple missing PORT_OPTIONS=DOCS
Approved by: portmgr blanket
Notes
Notes:
svn path=/head/; revision=395483
Diffstat (limited to 'multimedia/flvstreamer')
-rw-r--r-- | multimedia/flvstreamer/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/multimedia/flvstreamer/Makefile b/multimedia/flvstreamer/Makefile index 32f77736a36b..deef028fee45 100644 --- a/multimedia/flvstreamer/Makefile +++ b/multimedia/flvstreamer/Makefile @@ -17,18 +17,14 @@ MAKE_ARGS= THREADLIB="-lpthread" XCFLAGS="${CFLAGS}" XLDFLAGS="${LDFLAGS}" PLIST_FILES= bin/flvstreamer bin/streams PORTDOCS= ChangeLog ChangeLog.rtmpdump README +OPTIONS_DEFINE= DOCS + do-install: cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PLIST_FILES:S,^bin/,,} \ ${STAGEDIR}${PREFIX}/bin -OPTIONS_DEFINE= DOCS - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MDOCS} -post-install: +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.mk> |