aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/acme
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-02-08 02:48:09 +0800
committermarcus <marcus@FreeBSD.org>2003-02-08 02:48:09 +0800
commitd0867617933fdaf98fa6eeed1f1fbeb3ea458cc2 (patch)
treeacfe6b684abfe1a921696808a23b5bf64a77e816 /multimedia/acme
parent901915117255de0453f14bd7992fada74e4bb8c7 (diff)
downloadfreebsd-ports-gnome-d0867617933fdaf98fa6eeed1f1fbeb3ea458cc2.tar.gz
freebsd-ports-gnome-d0867617933fdaf98fa6eeed1f1fbeb3ea458cc2.tar.zst
freebsd-ports-gnome-d0867617933fdaf98fa6eeed1f1fbeb3ea458cc2.zip
Add acme, a tool to make multimedia keys useful.
Diffstat (limited to 'multimedia/acme')
-rw-r--r--multimedia/acme/Makefile38
-rw-r--r--multimedia/acme/distinfo1
-rw-r--r--multimedia/acme/files/patch-src_acme.c15
-rw-r--r--multimedia/acme/pkg-comment1
-rw-r--r--multimedia/acme/pkg-descr3
-rw-r--r--multimedia/acme/pkg-plist51
6 files changed, 109 insertions, 0 deletions
diff --git a/multimedia/acme/Makefile b/multimedia/acme/Makefile
new file mode 100644
index 000000000000..a772d1e9d275
--- /dev/null
+++ b/multimedia/acme/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: acme
+# Date created: 15 November 2002
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= acme
+PORTVERSION= 2.0.2
+CATEGORIES= multimedia gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.0
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+
+BUILD_DEPENDS= gob2:${PORTSDIR}/devel/gob2
+LIB_DEPENDS= gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui \
+ wnck-1.9:${PORTSDIR}/x11-toolkits/libwnck
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+USE_GMAKE= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack
+USE_LIBTOOL= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+ LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+ ${WRKSRC}/src/acme.c
+
+.include <bsd.port.mk>
diff --git a/multimedia/acme/distinfo b/multimedia/acme/distinfo
new file mode 100644
index 000000000000..955f05244ae4
--- /dev/null
+++ b/multimedia/acme/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/acme-2.0.2.tar.bz2) = 988bb35cf81cd011749ae76ce4288998
diff --git a/multimedia/acme/files/patch-src_acme.c b/multimedia/acme/files/patch-src_acme.c
new file mode 100644
index 000000000000..4da386b29237
--- /dev/null
+++ b/multimedia/acme/files/patch-src_acme.c
@@ -0,0 +1,15 @@
+--- src/acme.c.orig Sun Jan 19 06:43:45 2003
++++ src/acme.c Mon Jan 27 18:09:38 2003
+@@ -201,10 +201,10 @@
+ if ((soundfile == NULL) || (strcmp (soundfile, "") == 0))
+ return;
+
+- if (g_file_test ("/usr/bin/esdplay",
++ if (g_file_test ("%%LOCALBASE%%/bin/esdplay",
+ (G_FILE_TEST_EXISTS | G_FILE_TEST_IS_EXECUTABLE)))
+ {
+- command = g_strdup_printf ("/usr/bin/esdplay %s",
++ command = g_strdup_printf ("%%LOCALBASE%%/bin/esdplay %s",
+ soundfile);
+ } else if (g_file_test ("/usr/bin/play",
+ (G_FILE_TEST_EXISTS | G_FILE_TEST_IS_EXECUTABLE)))
diff --git a/multimedia/acme/pkg-comment b/multimedia/acme/pkg-comment
new file mode 100644
index 000000000000..a3d97b1692db
--- /dev/null
+++ b/multimedia/acme/pkg-comment
@@ -0,0 +1 @@
+Tool to make multimedia keys work on laptops
diff --git a/multimedia/acme/pkg-descr b/multimedia/acme/pkg-descr
new file mode 100644
index 000000000000..1cf106bca43c
--- /dev/null
+++ b/multimedia/acme/pkg-descr
@@ -0,0 +1,3 @@
+This is ACME, a small tool for your laptops. It makes the small multimedia
+buttons on these things actually do something. It currently only fully supports
+Apple laptops (iBooks and Powerbooks), and should work on other systems as well.
diff --git a/multimedia/acme/pkg-plist b/multimedia/acme/pkg-plist
new file mode 100644
index 000000000000..a3887a471333
--- /dev/null
+++ b/multimedia/acme/pkg-plist
@@ -0,0 +1,51 @@
+bin/acme
+bin/acme-properties
+etc/gconf/gconf.xml.defaults/apps/acme/%gconf.xml
+etc/gconf/gconf.xml.defaults/schemas/apps/acme/%gconf.xml
+etc/gconf/schemas/acme.schemas
+share/gnome/acme/acme-16.png
+share/gnome/acme/acme-48.png
+share/gnome/acme/acme-brightness.png
+share/gnome/acme/acme-eject.png
+share/gnome/acme/acme-properties.glade
+share/gnome/acme/acme.glade
+share/gnome/acme/gnome-speakernotes-muted.png
+share/gnome/acme/gnome-speakernotes.png
+share/gnome/control-center-2.0/capplets/acme.desktop
+share/locale/am/LC_MESSAGES/acme.mo
+share/locale/bg/LC_MESSAGES/acme.mo
+share/locale/ca/LC_MESSAGES/acme.mo
+share/locale/cs/LC_MESSAGES/acme.mo
+share/locale/de/LC_MESSAGES/acme.mo
+share/locale/da/LC_MESSAGES/acme.mo
+share/locale/el/LC_MESSAGES/acme.mo
+share/locale/es/LC_MESSAGES/acme.mo
+share/locale/fi/LC_MESSAGES/acme.mo
+share/locale/fr/LC_MESSAGES/acme.mo
+share/locale/he/LC_MESSAGES/acme.mo
+share/locale/hu/LC_MESSAGES/acme.mo
+share/locale/it/LC_MESSAGES/acme.mo
+share/locale/ja/LC_MESSAGES/acme.mo
+share/locale/ko/LC_MESSAGES/acme.mo
+share/locale/lv/LC_MESSAGES/acme.mo
+share/locale/mk/LC_MESSAGES/acme.mo
+share/locale/mn/LC_MESSAGES/acme.mo
+share/locale/ms/LC_MESSAGES/acme.mo
+share/locale/nl/LC_MESSAGES/acme.mo
+share/locale/no/LC_MESSAGES/acme.mo
+share/locale/pl/LC_MESSAGES/acme.mo
+share/locale/pt/LC_MESSAGES/acme.mo
+share/locale/pt_BR/LC_MESSAGES/acme.mo
+share/locale/ro/LC_MESSAGES/acme.mo
+share/locale/ru/LC_MESSAGES/acme.mo
+share/locale/sk/LC_MESSAGES/acme.mo
+share/locale/sl/LC_MESSAGES/acme.mo
+share/locale/sq/LC_MESSAGES/acme.mo
+share/locale/sv/LC_MESSAGES/acme.mo
+share/locale/uk/LC_MESSAGES/acme.mo
+share/locale/vi/LC_MESSAGES/acme.mo
+share/locale/zh_CN/LC_MESSAGES/acme.mo
+share/locale/zh_TW/LC_MESSAGES/acme.mo
+@dirrm share/gnome/acme
+@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/acme
+@dirrm etc/gconf/gconf.xml.defaults/apps/acme