aboutsummaryrefslogtreecommitdiff
path: root/audio/libcanberra-gtk3
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2011-08-23 18:33:37 +0000
committerKoop Mast <kwm@FreeBSD.org>2011-08-23 18:33:37 +0000
commit7ec75ccc9f4e7ba4360e00a2f58a0c56f06d0305 (patch)
tree1add514c13566fef1882f73ac31ef9054a102647 /audio/libcanberra-gtk3
parente787911ebf23ca6769cf44d2dae02fefd98d1732 (diff)
downloadports-7ec75ccc9f4e7ba4360e00a2f58a0c56f06d0305.tar.gz
ports-7ec75ccc9f4e7ba4360e00a2f58a0c56f06d0305.zip
Notes
Diffstat (limited to 'audio/libcanberra-gtk3')
-rw-r--r--audio/libcanberra-gtk3/Makefile40
-rw-r--r--audio/libcanberra-gtk3/pkg-plist9
2 files changed, 49 insertions, 0 deletions
diff --git a/audio/libcanberra-gtk3/Makefile b/audio/libcanberra-gtk3/Makefile
new file mode 100644
index 000000000000..e03105ad5d81
--- /dev/null
+++ b/audio/libcanberra-gtk3/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: libcanberra
+# Date created: 05 August 2008
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/audio/libcanberra-gtk3/Makefile,v 1.8 2011/03/16 10:24:48 kwm Exp $
+#
+
+PORTREVISION= 1
+CATEGORIES= audio devel
+PKGNAMESUFFIX= -gtk3
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Implementation of the Freedesktop sound theme spec
+
+MASTERDIR= ${.CURDIR}/../../audio/libcanberra
+SLAVEPORT= gtk3
+PLIST= ${.CURDIR}/pkg-plist
+
+do-build:
+ cd ${WRKSRC} && ${GMAKE} libcanberra-gtk3.pc
+ cd ${WRKSRC}/src && ${GMAKE} libcanberra-gtk3.la
+ cd ${WRKSRC}/src && ${GMAKE} libcanberra-gtk3-module.la
+# fix the .la file so it doesn't point to the build dir anymore.
+ @${REINPLACE_CMD} -e '/^relink_command/ d' \
+ -e 's|${WRKSRC}/src/libcanberra.la|${LOCALBASE}/lib/libcanberra.la|g' \
+ ${WRKSRC}/src/.libs/libcanberra-gtk3.la
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/libcanberra-gtk3.pc \
+ ${PREFIX}/libdata/pkgconfig/
+.for i in .a .la .so .so.0
+ ${INSTALL_DATA} ${WRKSRC}/src/.libs/libcanberra-gtk3${i} \
+ ${PREFIX}/lib/
+.endfor
+ cd ${WRKSRC}/src && ${GMAKE} install-gtk3moduleLTLIBRARIES
+ cd ${PREFIX}/lib/gtk-3.0/modules && \
+ ${LN} -sf libcanberra-gtk3-module.so libcanberra-gtk-module.so
+
+.include "${MASTERDIR}/Makefile"
diff --git a/audio/libcanberra-gtk3/pkg-plist b/audio/libcanberra-gtk3/pkg-plist
new file mode 100644
index 000000000000..9a3276d53376
--- /dev/null
+++ b/audio/libcanberra-gtk3/pkg-plist
@@ -0,0 +1,9 @@
+lib/gtk-3.0/modules/libcanberra-gtk-module.so
+lib/gtk-3.0/modules/libcanberra-gtk3-module.a
+lib/gtk-3.0/modules/libcanberra-gtk3-module.la
+lib/gtk-3.0/modules/libcanberra-gtk3-module.so
+lib/libcanberra-gtk3.a
+lib/libcanberra-gtk3.la
+lib/libcanberra-gtk3.so
+lib/libcanberra-gtk3.so.0
+libdata/pkgconfig/libcanberra-gtk3.pc