aboutsummaryrefslogtreecommitdiff
path: root/audio/libamrwb
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
commitbb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /audio/libamrwb
parent29879aded766da253313579a3503ff5e15026355 (diff)
downloadports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.tar.gz
ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.zip
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Notes
Notes: svn path=/head/; revision=394778
Diffstat (limited to 'audio/libamrwb')
-rw-r--r--audio/libamrwb/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/audio/libamrwb/Makefile b/audio/libamrwb/Makefile
index 34feabcf4512..9072fedd1390 100644
--- a/audio/libamrwb/Makefile
+++ b/audio/libamrwb/Makefile
@@ -40,15 +40,11 @@ OPTIONS_DEFINE= DOCS
SRC26204= 26204-b00.zip
-.include <bsd.port.options.mk>
-
post-extract:
- @${CP} ${_DISTDIR}/${SRC26204} ${WRKSRC}/
+ @${CP} ${_DISTDIR}/${SRC26204} ${WRKSRC}
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- @cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
-.endif
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>