diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-18 20:26:50 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-18 20:26:50 +0800 |
commit | 0325264b81ca8c91adde22d2984f2688495bff67 (patch) | |
tree | e7ac85e920e1b3900695a9c23bd06e93896e74ca /devel | |
parent | e374295496b27d65f563cb386dd3e92d4fae0dc1 (diff) | |
download | marcuscom-ports-0325264b81ca8c91adde22d2984f2688495bff67.tar marcuscom-ports-0325264b81ca8c91adde22d2984f2688495bff67.tar.gz marcuscom-ports-0325264b81ca8c91adde22d2984f2688495bff67.tar.bz2 marcuscom-ports-0325264b81ca8c91adde22d2984f2688495bff67.tar.lz marcuscom-ports-0325264b81ca8c91adde22d2984f2688495bff67.tar.xz marcuscom-ports-0325264b81ca8c91adde22d2984f2688495bff67.tar.zst marcuscom-ports-0325264b81ca8c91adde22d2984f2688495bff67.zip |
- Move to LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6621 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libglade2/Makefile | 58 | ||||
-rw-r--r-- | devel/libglade2/distinfo | 3 | ||||
-rw-r--r-- | devel/libglade2/pkg-descr | 3 | ||||
-rw-r--r-- | devel/libglade2/pkg-plist | 21 |
4 files changed, 85 insertions, 0 deletions
diff --git a/devel/libglade2/Makefile b/devel/libglade2/Makefile new file mode 100644 index 000000000..1b116330a --- /dev/null +++ b/devel/libglade2/Makefile @@ -0,0 +1,58 @@ +# New ports collection makefile for: libglade2 +# Date created: 18 August 1999 +# Whom: Ade Lovett <ade@lovett.com> +# +# $FreeBSD$ +# $MCom: ports/devel/libglade2/Makefile,v 1.20 2006/07/12 17:23:04 ahze Exp $ + +PORTNAME= libglade2 +PORTVERSION= 2.6.0 +PORTREVISION?= 2 +CATEGORIES= devel gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:C/..$//} +DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNOME glade library + +USE_BZIP2= yes + +.if !defined(REFERENCE_PORT) + +RUN_DEPENDS= xmlcatmgr:${PORTSDIR}/textproc/xmlcatmgr + +USE_GMAKE= yes +GNU_CONFIGURE= yes +USE_GNOME= gnomehack libxml2 gtk20 referencehack +INSTALLS_SHLIB= yes +CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \ + --disable-gtk-doc \ + --with-xml-catalog=${LOCALBASE}/share/xml/catalog.ports +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +PLIST_SUB= XMLCATALOG="${LOCALBASE}/bin/xmlcatalog" \ + CATALOG_PORTS_XML="${LOCALBASE}/share/xml/catalog.ports" + +.if !defined(WITHOUT_PYTHON) +BUILD_DEPENDS+= ${PYEXPAT} +RUN_DEPENDS+= ${PYEXPAT} + +USE_PYTHON= yes +PLIST_SUB+= PYTHON="" +.else +PLIST_SUB+= PYTHON="@comment " + +post-patch: + @${REINPLACE_CMD} -E 's/in (python.*)+ none/in none/' \ + ${WRKSRC}/configure +.endif + +post-install: + ${MKDIR} ${PREFIX}/lib/libglade/2.0 + +.include <bsd.port.mk> + +.endif diff --git a/devel/libglade2/distinfo b/devel/libglade2/distinfo new file mode 100644 index 000000000..aca165293 --- /dev/null +++ b/devel/libglade2/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/libglade-2.6.0.tar.bz2) = 81d7b2b64871ce23a5fae1e5da0b1f6e +SHA256 (gnome2/libglade-2.6.0.tar.bz2) = 6533dcc2e29895a41288543855159035133980ea627121ab867cb9352f620dcf +SIZE (gnome2/libglade-2.6.0.tar.bz2) = 319004 diff --git a/devel/libglade2/pkg-descr b/devel/libglade2/pkg-descr new file mode 100644 index 000000000..7335dd1ea --- /dev/null +++ b/devel/libglade2/pkg-descr @@ -0,0 +1,3 @@ +LibGlade allows GLADE interfaces to be handled at runtime, freeing +GUI development from code development. This allows an interface to +be changed without requiring a re-compilation. diff --git a/devel/libglade2/pkg-plist b/devel/libglade2/pkg-plist new file mode 100644 index 000000000..b11977d29 --- /dev/null +++ b/devel/libglade2/pkg-plist @@ -0,0 +1,21 @@ +%%PYTHON%%bin/libglade-convert +include/libglade-2.0/glade/glade-build.h +include/libglade-2.0/glade/glade-init.h +include/libglade-2.0/glade/glade-parser.h +include/libglade-2.0/glade/glade-xml.h +include/libglade-2.0/glade/glade.h +lib/libglade-2.0.a +lib/libglade-2.0.la +lib/libglade-2.0.so +lib/libglade-2.0.so.0 +libdata/pkgconfig/libglade-2.0.pc +share/xml/libglade/glade-2.0.dtd +@unexec %%XMLCATALOG%% --noout --del %D/share/xml/libglade/glade-2.0.dtd %%CATALOG_PORTS_XML%% || /usr/bin/true +@exec %%XMLCATALOG%% --noout --add "system" "http://glade.gnome.org/glade-2.0.dtd" %D/share/xml/libglade/glade-2.0.dtd %%CATALOG_PORTS_XML%% || /usr/bin/true +@exec mkdir -p %D/lib/libglade/2.0 +@dirrm share/xml/libglade +@dirrm include/libglade-2.0/glade +@dirrm include/libglade-2.0 +@dirrm lib/libglade/2.0 +@dirrm lib/libglade +@unexec /bin/rmdir %D/share/xml 2>/dev/null || /usr/bin/true |