aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-30 09:42:19 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-30 09:42:19 +0800
commit02ddcdd4936021299bf7fb8b0ef652d587376448 (patch)
treefb0d91a924f9913226a04be0100a5340a91448ce /multimedia
parentae24e4c5581147e9db2efceaf8663fe294b73c40 (diff)
downloadfreebsd-ports-gnome-02ddcdd4936021299bf7fb8b0ef652d587376448.tar.gz
freebsd-ports-gnome-02ddcdd4936021299bf7fb8b0ef652d587376448.tar.zst
freebsd-ports-gnome-02ddcdd4936021299bf7fb8b0ef652d587376448.zip
- Switch to options helpers
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/subtools/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/multimedia/subtools/Makefile b/multimedia/subtools/Makefile
index dd839bede192..7f65806d23ea 100644
--- a/multimedia/subtools/Makefile
+++ b/multimedia/subtools/Makefile
@@ -9,13 +9,14 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Command-line tools for movie subtitles in SubRipper format
-WRKSRC= ${WRKDIR}/${PORTNAME}/src
-
USES= python tar:bzip2
+WRKSRC= ${WRKDIR}/${PORTNAME}/src
+
PLIST_FILES= bin/srtshift bin/srtrate bin/udvd2srt.py bin/udvdshift.py
PORTDOCS= CHANGELOG.TXT README.TXT
+
OPTIONS_DEFINE= DOCS
post-patch:
@@ -35,6 +36,7 @@ do-install:
@(cd ${WRKSRC} && ${INSTALL_SCRIPT} ${f} ${STAGEDIR}${PREFIX}/bin/)
.endfor
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/../|} ${STAGEDIR}${DOCSDIR}