summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-03 10:42:51 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-03 10:42:51 +0800
commitcdd999198a9efe32a201da360a500e4e643e6c9e (patch)
treec814e4f646490b0c9ff84384fc2800a17fa7deed
parent980a6405e1f5a29e9d034c683a1029c03bce4c38 (diff)
downloadmarcuscom-ports-cdd999198a9efe32a201da360a500e4e643e6c9e.tar
marcuscom-ports-cdd999198a9efe32a201da360a500e4e643e6c9e.tar.gz
marcuscom-ports-cdd999198a9efe32a201da360a500e4e643e6c9e.tar.bz2
marcuscom-ports-cdd999198a9efe32a201da360a500e4e643e6c9e.tar.lz
marcuscom-ports-cdd999198a9efe32a201da360a500e4e643e6c9e.tar.xz
marcuscom-ports-cdd999198a9efe32a201da360a500e4e643e6c9e.tar.zst
marcuscom-ports-cdd999198a9efe32a201da360a500e4e643e6c9e.zip
share/gnome/ -> share/
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8783 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--x11/libcapplet/Makefile43
-rw-r--r--x11/libcapplet/distinfo3
-rw-r--r--x11/libcapplet/files/patch-Makefile23
-rw-r--r--x11/libcapplet/files/patch-cappletConf.sh.in9
-rw-r--r--x11/libcapplet/pkg-descr3
-rw-r--r--x11/libcapplet/pkg-plist7
6 files changed, 88 insertions, 0 deletions
diff --git a/x11/libcapplet/Makefile b/x11/libcapplet/Makefile
new file mode 100644
index 000000000..72be0c3da
--- /dev/null
+++ b/x11/libcapplet/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: libcapplet
+# Date created: 10 July 2002
+# Whom: Maxim Soboleb <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/x11/libcapplet/Makefile,v 1.4 2006/10/07 19:06:46 ahze Exp $
+#
+
+PORTNAME= libcapplet
+PORTVERSION= 1.4.0.5
+PORTREVISION= 8
+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
+USE_LDCONFIG= yes
+USE_GETOPT_LONG=yes
+MAKE_ENV= X11BASE="${LOCALBASE}" 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/idl
+ ${INSTALL_DATA} ${WRKSRC}/control-center.idl ${PREFIX}/share/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..72fec2549
--- /dev/null
+++ b/x11/libcapplet/files/patch-Makefile
@@ -0,0 +1,23 @@
+--- Makefile.orig Wed Jul 10 08:32:05 2002
++++ Makefile Wed Oct 4 15:35:57 2006
+@@ -7,14 +7,14 @@
+ SRCS= capplet-widget-libs.c capplet-widget.c capplet-widget-libs.h \
+ capplet-widget.h control-center-common.c control-center-skels.c \
+ control-center-stubs.c control-center.h
+-CFLAGS+=-I. -I${X11BASE}/include -I${X11BASE}/include/gtk12 \
+- -I${X11BASE}/include/gnome-1.0 -I${LOCALBASE}/include \
++CFLAGS+=-I. -I${X11BASE}/include -I${LOCALBASE}/include/gtk12 \
++ -I${LOCALBASE}/include/gnome-1.0 -I${LOCALBASE}/include \
+ -I${LOCALBASE}/include/glib12 -I${LOCALBASE}/include/orbit-1.0
+ 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
+
+ CLEANFILES+=control-center-common.c control-center-skels.c \
+ control-center-stubs.c control-center.h cappletConf.sh \
diff --git a/x11/libcapplet/files/patch-cappletConf.sh.in b/x11/libcapplet/files/patch-cappletConf.sh.in
new file mode 100644
index 000000000..ee73029fd
--- /dev/null
+++ b/x11/libcapplet/files/patch-cappletConf.sh.in
@@ -0,0 +1,9 @@
+--- cappletConf.sh.in.orig Wed Jul 10 08:42:31 2002
++++ cappletConf.sh.in Sat Oct 7 15:03:42 2006
+@@ -1,4 +1,4 @@
+ 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_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"
++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%%LOCALBASE%%/include/libcapplet1 -I%%LOCALBASE%%/include/gnome-1.0 -I%%X11BASE%%/include -DNEED_GNOMESUPPORT_H -I%%LOCALBASE%%/lib/gnome-libs/include -I%%LOCALBASE%%/include/glib12 -I%%LOCALBASE%%/include/orbit-1.0 -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/gtk12"
+ MODULE_VERSION="capplet-1.4.0.5"
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..906f23b6c
--- /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/idl/control-center.idl
+@dirrm include/libcapplet1