aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gavl
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-09 02:48:55 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-09 02:48:55 +0000
commitdc55aed854fcbfd199143b14dae71fdeeb13b1d1 (patch)
tree1d1d0023a0ac370799ffee20f010f69b3e4e7c3f /multimedia/gavl
parent508104168eeb3895fceb1d6cdf32845b1d8a1987 (diff)
downloadports-dc55aed854fcbfd199143b14dae71fdeeb13b1d1.tar.gz
ports-dc55aed854fcbfd199143b14dae71fdeeb13b1d1.zip
Notes
Diffstat (limited to 'multimedia/gavl')
-rw-r--r--multimedia/gavl/Makefile20
-rw-r--r--multimedia/gavl/pkg-plist2
2 files changed, 8 insertions, 14 deletions
diff --git a/multimedia/gavl/Makefile b/multimedia/gavl/Makefile
index e03a67239bb9..6d5e5f998206 100644
--- a/multimedia/gavl/Makefile
+++ b/multimedia/gavl/Makefile
@@ -3,6 +3,7 @@
PORTNAME= gavl
PORTVERSION= 1.4.0
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= SF/gmerlin/${PORTNAME}/${PORTVERSION}
@@ -12,7 +13,7 @@ COMMENT= A library for handling uncompressed video and audio data
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= pathfix pkgconfig
+USES= pathfix pkgconfig libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
@@ -23,18 +24,11 @@ PORTDOCS= README
OPTIONS_DEFINE= OPTIMIZED_CFLAGS PNG
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS PNG
+PNG_LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
+PNG_CONFIGURE_OFF= --disable-libpng
-NO_STAGE= yes
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MPNG}
-LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png
-.else
-CONFIGURE_ARGS+= --disable-libpng
-.endif
-
-.include <bsd.port.pre.mk>
-
post-patch:
.if empty(PORT_OPTIONS:MOPTIMIZED_CFLAGS)
@${REINPLACE_CMD} -e \
@@ -44,8 +38,8 @@ post-patch:
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/multimedia/gavl/pkg-plist b/multimedia/gavl/pkg-plist
index c907714c2a27..4467e6bd486a 100644
--- a/multimedia/gavl/pkg-plist
+++ b/multimedia/gavl/pkg-plist
@@ -7,8 +7,8 @@ include/gavl/gavltime.h
include/gavl/metatags.h
include/gavl/metadata.h
include/gavl/timecode.h
-lib/libgavl.la
lib/libgavl.so
lib/libgavl.so.1
+lib/libgavl.so.1.0.0
libdata/pkgconfig/gavl.pc
@dirrm include/gavl