aboutsummaryrefslogtreecommitdiff
path: root/devel/libglade2
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-05-10 16:33:35 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-05-10 16:33:35 +0000
commit2a076ed329f1fbb67926ee99dcf1f8a5e7194f21 (patch)
tree49c5c37ce08da6dc14ffe6a5e591e80508c91eeb /devel/libglade2
parent90f7154c84b13d33b5c70d338701703e0f783a32 (diff)
downloadports-2a076ed329f1fbb67926ee99dcf1f8a5e7194f21.tar.gz
ports-2a076ed329f1fbb67926ee99dcf1f8a5e7194f21.zip
Move the libglade2 programming reference to the libglade2-reference port.
Notes
Notes: svn path=/head/; revision=161948
Diffstat (limited to 'devel/libglade2')
-rw-r--r--devel/libglade2/Makefile15
-rw-r--r--devel/libglade2/pkg-plist21
2 files changed, 11 insertions, 25 deletions
diff --git a/devel/libglade2/Makefile b/devel/libglade2/Makefile
index f8e23cdd7589..ceaca8a8d4b9 100644
--- a/devel/libglade2/Makefile
+++ b/devel/libglade2/Makefile
@@ -7,7 +7,6 @@
PORTNAME= libglade2
PORTVERSION= 2.5.1
-PORTREVISION= 4
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.5
@@ -17,13 +16,19 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME glade library
+USE_BZIP2= yes
+PREFIX?= ${X11BASE}
+
+.if !defined(REFERENCE_PORT)
+
+PORTREVISION= 5
+
RUN_DEPENDS= xmlcatmgr:${PORTSDIR}/textproc/xmlcatmgr
-USE_BZIP2= yes
-USE_X_PREFIX= yes
+USE_XLIB= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack libxml2 gtk20
+USE_GNOME= gnomehack libxml2 gtk20 referencehack
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
--disable-gtk-doc \
@@ -52,3 +57,5 @@ post-install:
${MKDIR} ${PREFIX}/lib/libglade/2.0
.include <bsd.port.mk>
+
+.endif
diff --git a/devel/libglade2/pkg-plist b/devel/libglade2/pkg-plist
index 1c28ac5a9507..b11977d293fc 100644
--- a/devel/libglade2/pkg-plist
+++ b/devel/libglade2/pkg-plist
@@ -9,32 +9,11 @@ lib/libglade-2.0.la
lib/libglade-2.0.so
lib/libglade-2.0.so.0
libdata/pkgconfig/libglade-2.0.pc
-share/doc/libglade/GladeXML.html
-share/doc/libglade/home.png
-share/doc/libglade/index.html
-share/doc/libglade/index.sgml
-share/doc/libglade/left.png
-share/doc/libglade/libglade-Libglade-Build.html
-share/doc/libglade/libglade-Libglade-Initialisation.html
-share/doc/libglade/libglade-Libglade-SAX-Parser.html
-share/doc/libglade/libglade-dtd.html
-share/doc/libglade/libglade-dtd-exceptions.html
-share/doc/libglade/libglade-embedding.html
-share/doc/libglade/libglade-extending.html
-share/doc/libglade/libglade-i18n.html
-share/doc/libglade/libglade-lib.html
-share/doc/libglade/libglade-modules.html
-share/doc/libglade/libglade-notes.html
-share/doc/libglade/libglade.devhelp
-share/doc/libglade/right.png
-share/doc/libglade/style.css
-share/doc/libglade/up.png
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 share/doc/libglade
@dirrm include/libglade-2.0/glade
@dirrm include/libglade-2.0
@dirrm lib/libglade/2.0