aboutsummaryrefslogtreecommitdiff
path: root/x11/xalf
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2001-05-04 21:39:58 +0000
committerAde Lovett <ade@FreeBSD.org>2001-05-04 21:39:58 +0000
commit03af2187bd388708aa7234d923ec38192b6fc7a2 (patch)
tree7ce23e0d0c750d353ac0da5306ba035076e0adf0 /x11/xalf
parentdd85694bb4fdd0d68574a5b609e8e026c8a16a4e (diff)
downloadports-03af2187bd388708aa7234d923ec38192b6fc7a2.tar.gz
ports-03af2187bd388708aa7234d923ec38192b6fc7a2.zip
Notes
Diffstat (limited to 'x11/xalf')
-rw-r--r--x11/xalf/Makefile31
-rw-r--r--x11/xalf/distinfo1
-rw-r--r--x11/xalf/files/patch-aa13
-rw-r--r--x11/xalf/pkg-comment1
-rw-r--r--x11/xalf/pkg-descr1
-rw-r--r--x11/xalf/pkg-plist10
6 files changed, 57 insertions, 0 deletions
diff --git a/x11/xalf/Makefile b/x11/xalf/Makefile
new file mode 100644
index 000000000000..8b7d8032edea
--- /dev/null
+++ b/x11/xalf/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: xalf
+# Date created: 27 March 2001
+# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xalf
+PORTVERSION= 0.11
+CATEGORIES= devel
+MASTER_SITES= http://www.lysator.liu.se/~astrand/projects/xalf/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ade@FreeBSD.org
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOME= yes
+USE_LIBTOOL= yes
+INSTALLS_SHLIB= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+ LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
+.include <bsd.port.mk>
diff --git a/x11/xalf/distinfo b/x11/xalf/distinfo
new file mode 100644
index 000000000000..fade6d3ea2ec
--- /dev/null
+++ b/x11/xalf/distinfo
@@ -0,0 +1 @@
+MD5 (xalf-0.11.tgz) = ec353578fb14de37e9946d558e48f4d9
diff --git a/x11/xalf/files/patch-aa b/x11/xalf/files/patch-aa
new file mode 100644
index 000000000000..5b600f2ada3e
--- /dev/null
+++ b/x11/xalf/files/patch-aa
@@ -0,0 +1,13 @@
+--- lib/xalflaunch.c.orig Sun Apr 1 03:19:25 2001
++++ lib/xalflaunch.c Sun Apr 1 03:20:36 2001
+@@ -38,6 +38,10 @@
+ static void restore_env();
+ static long int launch_pid = 0;
+
++#ifdef __FreeBSD__
++static void _init(void) __attribute__ ((section (".init")));
++#endif
++
+ void
+ _init () {
+ char *pid_string;
diff --git a/x11/xalf/pkg-comment b/x11/xalf/pkg-comment
new file mode 100644
index 000000000000..8b137891791f
--- /dev/null
+++ b/x11/xalf/pkg-comment
@@ -0,0 +1 @@
+
diff --git a/x11/xalf/pkg-descr b/x11/xalf/pkg-descr
new file mode 100644
index 000000000000..8b137891791f
--- /dev/null
+++ b/x11/xalf/pkg-descr
@@ -0,0 +1 @@
+
diff --git a/x11/xalf/pkg-plist b/x11/xalf/pkg-plist
new file mode 100644
index 000000000000..a592a76033c2
--- /dev/null
+++ b/x11/xalf/pkg-plist
@@ -0,0 +1,10 @@
+bin/xalf
+bin/xalf-capplet
+bin/xalfoff
+lib/libxalflaunch.a
+lib/libxalflaunch.so
+lib/libxalflaunch.so.0
+share/gnome/apps/Settings/Desktop/xalf-settings.desktop
+share/gnome/control-center/Desktop/xalf-settings.desktop
+share/gnome/pixmaps/hourglass-big.png
+share/gnome/pixmaps/hourglass-small.png