aboutsummaryrefslogtreecommitdiff
path: root/multimedia/avbin
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-27 10:17:59 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-27 10:17:59 +0000
commit053c0b408f5808dc2e58ee723b5ae907becc7c8a (patch)
tree962b0eb6a59a669ea41393cfe42aee7674ef5249 /multimedia/avbin
parentd94900c472d5561be8e348f029e51bd888454363 (diff)
downloadports-053c0b408f5808dc2e58ee723b5ae907becc7c8a.tar.gz
ports-053c0b408f5808dc2e58ee723b5ae907becc7c8a.zip
Notes
Diffstat (limited to 'multimedia/avbin')
-rw-r--r--multimedia/avbin/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/multimedia/avbin/Makefile b/multimedia/avbin/Makefile
index 95dcc277f33a..bdec06563304 100644
--- a/multimedia/avbin/Makefile
+++ b/multimedia/avbin/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: avbin
-# Date created: 03 Apr 2009
-# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
-#
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= avbin
PORTVERSION= 7
@@ -32,7 +28,7 @@ CFLAGS+= -fPIC
do-build:
cd ${WRKSRC} && \
- ${CC} ${CFLAGS} -shared -soname ${LIBNAME} -o ${LIBNAME} \
+ ${CC} ${CFLAGS} -shared -Wl,-soname,${LIBNAME} -o ${LIBNAME} \
src/avbin.c -Iinclude -I${LOCALBASE}/include \
-DAVBIN_VERSION=${PORTVERSION} -DFFMPEG_REVISION=0 \
-L${LOCALBASE}/lib -lavcodec -lavformat
@@ -41,7 +37,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${LIBNAME} ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/include/avbin.h ${PREFIX}/include
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} '*' ${DOCSDIR}/
.endif