summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-12 12:56:41 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-12 12:56:41 +0800
commitba23f4a31498d3acca59163e4df44768d5650d73 (patch)
tree9c78f795f4c6221c496ece6d07245822a8b76054 /multimedia
parent06d8a9170cb774d07bc1df71da3649fe21da4a99 (diff)
downloadmarcuscom-ports-ba23f4a31498d3acca59163e4df44768d5650d73.tar
marcuscom-ports-ba23f4a31498d3acca59163e4df44768d5650d73.tar.gz
marcuscom-ports-ba23f4a31498d3acca59163e4df44768d5650d73.tar.bz2
marcuscom-ports-ba23f4a31498d3acca59163e4df44768d5650d73.tar.lz
marcuscom-ports-ba23f4a31498d3acca59163e4df44768d5650d73.tar.xz
marcuscom-ports-ba23f4a31498d3acca59163e4df44768d5650d73.tar.zst
marcuscom-ports-ba23f4a31498d3acca59163e4df44768d5650d73.zip
Add acme.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@586 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/acme/Makefile35
-rw-r--r--multimedia/acme/distinfo1
-rw-r--r--multimedia/acme/files/patch-src_acme.c15
-rw-r--r--multimedia/acme/pkg-descr3
-rw-r--r--multimedia/acme/pkg-plist60
5 files changed, 114 insertions, 0 deletions
diff --git a/multimedia/acme/Makefile b/multimedia/acme/Makefile
new file mode 100644
index 000000000..f0749d139
--- /dev/null
+++ b/multimedia/acme/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: acme
+# Date created: 15 November 2002
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/multimedia/acme/Makefile,v 1.3 2003/04/04 07:18:35 marcus Exp $
+#
+
+PORTNAME= acme
+PORTVERSION= 2.0.3
+CATEGORIES= multimedia gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.0
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Tool to make multimedia keys work on laptops
+
+BUILD_DEPENDS= gob2:${PORTSDIR}/devel/gob2
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack libgnomeui libwnck
+USE_LIBTOOL= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+ LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+
+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 000000000..bc461b85d
--- /dev/null
+++ b/multimedia/acme/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/acme-2.0.3.tar.bz2) = 9adc5d5baef3c89055eefd3b4afbf80e
diff --git a/multimedia/acme/files/patch-src_acme.c b/multimedia/acme/files/patch-src_acme.c
new file mode 100644
index 000000000..4da386b29
--- /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-descr b/multimedia/acme/pkg-descr
new file mode 100644
index 000000000..1cf106bca
--- /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 000000000..ea2076502
--- /dev/null
+++ b/multimedia/acme/pkg-plist
@@ -0,0 +1,60 @@
+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/az/LC_MESSAGES/acme.mo
+share/locale/be/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/et/LC_MESSAGES/acme.mo
+share/locale/fa/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/id/LC_MESSAGES/acme.mo
+share/locale/is/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/li/LC_MESSAGES/acme.mo
+share/locale/lv/LC_MESSAGES/acme.mo
+share/locale/mk/LC_MESSAGES/acme.mo
+share/locale/ml/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/tr/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