From ba3278cda367a6c1110e7c800f283fc2498ff3e7 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 11 Sep 2003 05:22:00 +0000 Subject: Add acme 2.4.0. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1189 df743ca5-7f9a-e211-a948-0013205c9059 --- multimedia/acme/Makefile | 31 ++++++++++++++++ multimedia/acme/distinfo | 1 + multimedia/acme/files/patch-src_acme.c | 15 ++++++++ multimedia/acme/pkg-descr | 3 ++ multimedia/acme/pkg-plist | 67 ++++++++++++++++++++++++++++++++++ 5 files changed, 117 insertions(+) create mode 100644 multimedia/acme/Makefile create mode 100644 multimedia/acme/distinfo create mode 100644 multimedia/acme/files/patch-src_acme.c create mode 100644 multimedia/acme/pkg-descr create mode 100644 multimedia/acme/pkg-plist (limited to 'multimedia/acme') diff --git a/multimedia/acme/Makefile b/multimedia/acme/Makefile new file mode 100644 index 000000000..301332fcd --- /dev/null +++ b/multimedia/acme/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: acme +# Date created: 15 November 2002 +# Whom: Joe Marcus Clarke +# +# $FreeBSD: ports/multimedia/acme/Makefile,v 1.8 2003/08/07 16:32:03 marcus Exp $ +# + +PORTNAME= acme +PORTVERSION= 2.4.0 +CATEGORIES= multimedia gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.4 +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Tool to make multimedia keys work on laptops + +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" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" + +post-patch: + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/src/acme.c + +.include diff --git a/multimedia/acme/distinfo b/multimedia/acme/distinfo new file mode 100644 index 000000000..28200346a --- /dev/null +++ b/multimedia/acme/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/acme-2.4.0.tar.bz2) = b61dd0d693064be42d59c6a9a8830cec 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..d13945c33 --- /dev/null +++ b/multimedia/acme/pkg-plist @@ -0,0 +1,67 @@ +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/ar/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/bn/LC_MESSAGES/acme.mo +share/locale/ca/LC_MESSAGES/acme.mo +share/locale/cs/LC_MESSAGES/acme.mo +share/locale/cy/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/ga/LC_MESSAGES/acme.mo +share/locale/he/LC_MESSAGES/acme.mo +share/locale/hi/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/sr/LC_MESSAGES/acme.mo +share/locale/sr@Latn/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 -- cgit v1.2.3