summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-18 23:53:18 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-18 23:53:18 +0800
commit5e076c13abc2f780409179ea8f7306c34f9750b7 (patch)
treee9c38122c92c9a1356ce0553a51646607c1c7a2c /x11
parent6bb3b34a6ff357fd7f956d584ae142892f0b6733 (diff)
downloadmarcuscom-ports-5e076c13abc2f780409179ea8f7306c34f9750b7.tar
marcuscom-ports-5e076c13abc2f780409179ea8f7306c34f9750b7.tar.gz
marcuscom-ports-5e076c13abc2f780409179ea8f7306c34f9750b7.tar.bz2
marcuscom-ports-5e076c13abc2f780409179ea8f7306c34f9750b7.tar.lz
marcuscom-ports-5e076c13abc2f780409179ea8f7306c34f9750b7.tar.xz
marcuscom-ports-5e076c13abc2f780409179ea8f7306c34f9750b7.tar.zst
marcuscom-ports-5e076c13abc2f780409179ea8f7306c34f9750b7.zip
- Move to LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6638 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r--x11/libcapplet/Makefile42
-rw-r--r--x11/libcapplet/distinfo3
-rw-r--r--x11/libcapplet/files/patch-Makefile13
-rw-r--r--x11/libcapplet/files/patch-cappletConf.sh.in7
-rw-r--r--x11/libcapplet/pkg-descr3
-rw-r--r--x11/libcapplet/pkg-plist7
6 files changed, 75 insertions, 0 deletions
diff --git a/x11/libcapplet/Makefile b/x11/libcapplet/Makefile
new file mode 100644
index 000000000..d254cdbcf
--- /dev/null
+++ b/x11/libcapplet/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: libcapplet
+# Date created: 10 July 2002
+# Whom: Maxim Soboleb <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= libcapplet
+PORTVERSION= 1.4.0.5
+PORTREVISION= 4
+CATEGORIES= x11 gnome
+MASTER_SITES= http://people.freebsd.org/~sobomax/
+DIST_SUBDIR= gnome
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A library for writing custom applets for GNOME Control Center
+
+USE_BZIP2= yes
+USE_GNOME= gnomelibs
+INSTALLS_SHLIB= yes
+USE_GETOPT_LONG=yes
+MAKE_ENV= X11BASE="${X11BASE}" LOCALBASE="${LOCALBASE}" LDFLAGS="${LDFLAGS}"
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500041
+post-build:
+ @${REINPLACE_CMD} -e 's/-lgnugetopt //' ${WRKSRC}/cappletConf.sh
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/libcapplet.so.5 ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/libcapplet.a ${PREFIX}/lib
+ ${LN} -sf libcapplet.so.5 ${PREFIX}/lib/libcapplet.so
+ ${MKDIR} ${PREFIX}/include/libcapplet1
+ ${INSTALL_DATA} ${WRKSRC}/capplet-widget.h \
+ ${PREFIX}/include/libcapplet1
+ ${MKDIR} ${PREFIX}/share/gnome/idl
+ ${INSTALL_DATA} ${WRKSRC}/control-center.idl ${PREFIX}/share/gnome/idl
+ ${INSTALL_SCRIPT} ${WRKSRC}/cappletConf.sh ${PREFIX}/etc
+
+.include <bsd.port.post.mk>
diff --git a/x11/libcapplet/distinfo b/x11/libcapplet/distinfo
new file mode 100644
index 000000000..5c72444c1
--- /dev/null
+++ b/x11/libcapplet/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome/libcapplet-1.4.0.5.tar.bz2) = eeffa3f60ca0c253915ae6fb60cabf09
+SHA256 (gnome/libcapplet-1.4.0.5.tar.bz2) = 33dc45a2b1f0c4a974a4a548f6906eeda132b390527b12fda31c2caac40f7635
+SIZE (gnome/libcapplet-1.4.0.5.tar.bz2) = 6023
diff --git a/x11/libcapplet/files/patch-Makefile b/x11/libcapplet/files/patch-Makefile
new file mode 100644
index 000000000..caeb33b82
--- /dev/null
+++ b/x11/libcapplet/files/patch-Makefile
@@ -0,0 +1,13 @@
+--- Makefile.orig Wed Jul 10 05:32:05 2002
++++ Makefile Sun Jan 22 15:06:39 2006
+@@ -13,6 +13,6 @@
+ LDADD+= -L${LOCALBASE}/lib -L${X11BASE}/lib -lORBitCosNaming -lORBit -lIIOP \
+- -lORBitutil -lglib12 -lwrap -lm -lgnorba -lXpm -ljpeg -lgnomeui \
+- -lart_lgpl -lgdk_imlib -ltiff -lungif -lpng -lz -lSM -lICE -lgtk12 \
+- -lgdk12 -lgmodule12 -lXext -lX11 -lgnome -lgnomesupport -lintl \
+- -lesd -lgnugetopt -laudiofile
++ -lORBitutil -lglib-12 -lwrap -lm -lgnorba -lXpm -ljpeg -lgnomeui \
++ -lart_lgpl -lgdk_imlib -ltiff -lungif -lpng -lz -lSM -lICE -lgtk-12 \
++ -lgdk-12 -lgmodule-12 -lXext -lX11 -lgnome -lgnomesupport -lintl \
++ -lesd ${LDFLAGS} -laudiofile
+
diff --git a/x11/libcapplet/files/patch-cappletConf.sh.in b/x11/libcapplet/files/patch-cappletConf.sh.in
new file mode 100644
index 000000000..cc27c4874
--- /dev/null
+++ b/x11/libcapplet/files/patch-cappletConf.sh.in
@@ -0,0 +1,7 @@
+--- cappletConf.sh.in.orig Wed Jul 10 05:42:31 2002
++++ cappletConf.sh.in Sun Jan 22 21:22:31 2006
+@@ -1,3 +1,3 @@
+ CAPPLET_LIBDIR="-Wl,-E -L%%X11BASE%%/lib -L%%LOCALBASE%%/lib"
+-CAPPLET_LIBS="-lcapplet -Wl,-E -lXpm -ljpeg -lgnomeui -lart_lgpl -lgdk_imlib -ltiff -lungif -lpng -lz -lSM -lICE -lgtk12 -lgdk12 -lgmodule12 -lXext -lX11 -lgnome -lgnomesupport -lintl -lesd -lgnugetopt -laudiofile -lm -lglib12 -L%%LOCALBASE%%/lib -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib12 -lwrap -lm -lgnorba"
++CAPPLET_LIBS="-lcapplet -Wl,-E -lXpm -ljpeg -lgnomeui -lart_lgpl -lgdk_imlib -ltiff -lungif -lpng -lz -lSM -lICE -lgtk-12 -lgdk-12 -lgmodule-12 -lXext -lX11 -lgnome -lgnomesupport -lintl -lesd -lgnugetopt -laudiofile -lm -lglib-12 -L%%LOCALBASE%%/lib -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib-12 -lwrap -lm -lgnorba"
+ CAPPLET_INCLUDEDIR="-I%%X11BASE%%/include/libcapplet1 -I%%X11BASE%%/include/gnome-1.0 -I%%X11BASE%%/include -DNEED_GNOMESUPPORT_H -I%%X11BASE%%/lib/gnome-libs/include -I%%LOCALBASE%%/include/glib12 -I%%LOCALBASE%%/include/orbit-1.0 -I%%LOCALBASE%%/include -I%%X11BASE%%/include/gtk12"
diff --git a/x11/libcapplet/pkg-descr b/x11/libcapplet/pkg-descr
new file mode 100644
index 000000000..f2ba80523
--- /dev/null
+++ b/x11/libcapplet/pkg-descr
@@ -0,0 +1,3 @@
+Small library for writing custom applets for GNOME Control Center.
+
+WWW: http://www.gnome.org/
diff --git a/x11/libcapplet/pkg-plist b/x11/libcapplet/pkg-plist
new file mode 100644
index 000000000..1f2ac5c47
--- /dev/null
+++ b/x11/libcapplet/pkg-plist
@@ -0,0 +1,7 @@
+etc/cappletConf.sh
+include/libcapplet1/capplet-widget.h
+lib/libcapplet.a
+lib/libcapplet.so
+lib/libcapplet.so.5
+share/gnome/idl/control-center.idl
+@dirrm include/libcapplet1