From ba23f4a31498d3acca59163e4df44768d5650d73 Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 12 Apr 2003 04:56:41 +0000 Subject: Add acme. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@586 df743ca5-7f9a-e211-a948-0013205c9059 --- multimedia/acme/Makefile | 35 ++++++++++++++++++++ multimedia/acme/distinfo | 1 + multimedia/acme/files/patch-src_acme.c | 15 +++++++++ multimedia/acme/pkg-descr | 3 ++ multimedia/acme/pkg-plist | 60 ++++++++++++++++++++++++++++++++++ 5 files changed, 114 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') 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 +# +# $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 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 -- cgit