aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-02-06 02:20:43 +0800
committermarcus <marcus@FreeBSD.org>2003-02-06 02:20:43 +0800
commit31b01c7887550f2560e790fb306b68a333bb7b92 (patch)
tree7fa8111754676780bf9999445c5d2bbc5d86c48e /multimedia/gstreamer/Makefile
parentc3af1fefa3ff80ac8a06b0b6454818866bef3838 (diff)
downloadfreebsd-ports-gnome-31b01c7887550f2560e790fb306b68a333bb7b92.tar.gz
freebsd-ports-gnome-31b01c7887550f2560e790fb306b68a333bb7b92.tar.zst
freebsd-ports-gnome-31b01c7887550f2560e790fb306b68a333bb7b92.zip
* Update to 0.6.0
* Fix audiofile detection * Small CC safeness fixes * Add Hermes support This work is the product of colaboration between lioux and myself. Approved by: maintainer
Diffstat (limited to 'multimedia/gstreamer/Makefile')
-rw-r--r--multimedia/gstreamer/Makefile32
1 files changed, 13 insertions, 19 deletions
diff --git a/multimedia/gstreamer/Makefile b/multimedia/gstreamer/Makefile
index 5f29fdc44f5f..46343f66b4a8 100644
--- a/multimedia/gstreamer/Makefile
+++ b/multimedia/gstreamer/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gstreamer
-PORTVERSION= 0.4.2
+PORTVERSION= 0.6.0
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -34,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 \
@@ -42,26 +45,17 @@ MAN1= gst-complete.1 gst-compprep.1 gst-inspect.1 gst-launch.1 \
PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"
-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
+# library minor number
+SHLIB_VERSION= 0
post-install:
# register plugins
@${PREFIX}/bin/gst-register 2>/dev/null
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if exists(${X11BASE}/libdata/pkgconfig/libgnomeui-2.0.pc)
+LIB_DEPENDS+= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui
+.endif
+
+.include <bsd.port.post.mk>