aboutsummaryrefslogtreecommitdiff
path: root/audio/libamrnb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libamrnb/Makefile')
-rw-r--r--audio/libamrnb/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/audio/libamrnb/Makefile b/audio/libamrnb/Makefile
index 406069679566..9274d9963ffa 100644
--- a/audio/libamrnb/Makefile
+++ b/audio/libamrnb/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libamrnb
-PORTVERSION= 10.0.0.0
+PORTVERSION= 11.0.0.0
PORTEPOCH= 1
CATEGORIES= audio
MASTER_SITES= http://ftp.penguin.cz/pub/users/utx/amr/ \
@@ -30,18 +30,19 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= LANG=C
MAKE_ENV= LANG=C
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
-SRC3GPP= 26104-a00.zip
+SRC3GPP= 26104-b00.zip
+
+.include <bsd.port.options.mk>
post-extract:
@${CP} ${DISTDIR}/${SRC3GPP} ${WRKSRC}/
post-install:
-.ifndef(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
-. for FILE in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
-. endfor
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
@${CAT} ${PKGMESSAGE}