summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-02-04 14:40:53 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-02-04 14:40:53 +0800
commit5a329b84ceded1080f5df349df6532fcd3a82a79 (patch)
tree177ab71bb2bae26ec86b48cc103ff9e1c1219f80 /multimedia/gstreamer/Makefile
parent630765a196c58248aaabeeeaae594e00bbfa0a20 (diff)
downloadmarcuscom-ports-5a329b84ceded1080f5df349df6532fcd3a82a79.tar
marcuscom-ports-5a329b84ceded1080f5df349df6532fcd3a82a79.tar.gz
marcuscom-ports-5a329b84ceded1080f5df349df6532fcd3a82a79.tar.bz2
marcuscom-ports-5a329b84ceded1080f5df349df6532fcd3a82a79.tar.lz
marcuscom-ports-5a329b84ceded1080f5df349df6532fcd3a82a79.tar.xz
marcuscom-ports-5a329b84ceded1080f5df349df6532fcd3a82a79.tar.zst
marcuscom-ports-5a329b84ceded1080f5df349df6532fcd3a82a79.zip
Update to 0.6.0.
Submitted by: lioux git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@510 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/gstreamer/Makefile')
-rw-r--r--multimedia/gstreamer/Makefile35
1 files changed, 11 insertions, 24 deletions
diff --git a/multimedia/gstreamer/Makefile b/multimedia/gstreamer/Makefile
index f569949d0..d6a3230b3 100644
--- a/multimedia/gstreamer/Makefile
+++ b/multimedia/gstreamer/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gstreamer
-PORTVERSION= 0.5.2
-PORTREVISION= 1
+PORTVERSION= 0.6.0
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -35,6 +34,9 @@ CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
CONFIGURE_TARGET=
+PLIST_SUB= \
+ VERSION="${PORTVERSION:C/..$//}" \
+ SHLIB_VERSION="${SHLIB_VERSION}"
INSTALLS_SHLIB= yes
MAN1= gst-complete.1 gst-compprep.1 gst-inspect.1 gst-launch.1 \
@@ -43,32 +45,17 @@ MAN1= gst-complete.1 gst-compprep.1 gst-inspect.1 gst-launch.1 \
PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"
+# library minor number
+SHLIB_VERSION= 0
+
+post-install:
+# register plugins
+ @${PREFIX}/bin/gst-register 2>/dev/null
+
.include <bsd.port.pre.mk>
.if exists(${X11BASE}/libdata/pkgconfig/libgnomeui-2.0.pc)
LIB_DEPENDS+= gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui
.endif
-post-patch:
-# use proper dir
-# remove version number from include dir name
- @${FIND} ${WRKSRC} -type f -name Makefile.in | \
- ${XARGS} -n 10 ${REINPLACE_CMD} -E \
- 's|^(lib[[:alpha:]]+includedir.+)-@VERSION@|\1|'
-# remove version number from include dir name AND
-# help dependent ports find popt.h
- @${REINPLACE_CMD} -E -e \
- 's|-@VERSION@||; \
- s|(-I\$${includedir})|\1 -I${LOCALBASE}/include|' \
- ${WRKSRC}/gstreamer.pc.in
-
-post-configure:
-# remove version number postfix from library names
- @${REINPLACE_CMD} -E -e 's|-release ${PORTVERSION}||' \
- ${WRKSRC}/gst/Makefile ${WRKSRC}/libs/gst/control/Makefile
-
-post-install:
-# register plugins
- @${PREFIX}/bin/gst-register 2>/dev/null
-
.include <bsd.port.post.mk>