From cdd999198a9efe32a201da360a500e4e643e6c9e Mon Sep 17 00:00:00 2001 From: mezz Date: Thu, 3 May 2007 02:42:51 +0000 Subject: share/gnome/ -> share/ git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8783 df743ca5-7f9a-e211-a948-0013205c9059 --- x11/libcapplet/Makefile | 43 ++++++++++++++++++++++++++++ x11/libcapplet/distinfo | 3 ++ x11/libcapplet/files/patch-Makefile | 23 +++++++++++++++ x11/libcapplet/files/patch-cappletConf.sh.in | 9 ++++++ x11/libcapplet/pkg-descr | 3 ++ x11/libcapplet/pkg-plist | 7 +++++ 6 files changed, 88 insertions(+) create mode 100644 x11/libcapplet/Makefile create mode 100644 x11/libcapplet/distinfo create mode 100644 x11/libcapplet/files/patch-Makefile create mode 100644 x11/libcapplet/files/patch-cappletConf.sh.in create mode 100644 x11/libcapplet/pkg-descr create mode 100644 x11/libcapplet/pkg-plist 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 +# +# $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 + +.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 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 -- cgit v1.2.3