aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-05-11 00:33:35 +0800
committerjylefort <jylefort@FreeBSD.org>2006-05-11 00:33:35 +0800
commit9d5a5423fb8b0e868821c9cd0fc54c20503901a5 (patch)
tree623d013305f46a4dfa098b218d0785f1be88b9c4 /devel
parent018683538aaa8b3eddeca1a317060098ce1ab94b (diff)
downloadfreebsd-ports-gnome-9d5a5423fb8b0e868821c9cd0fc54c20503901a5.tar.gz
freebsd-ports-gnome-9d5a5423fb8b0e868821c9cd0fc54c20503901a5.tar.zst
freebsd-ports-gnome-9d5a5423fb8b0e868821c9cd0fc54c20503901a5.zip
Move the libglade2 programming reference to the libglade2-reference port.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/libglade2/Makefile15
-rw-r--r--devel/libglade2/pkg-plist21
3 files changed, 12 insertions, 25 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 8655c7135777..5fbd1f00dce1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -497,6 +497,7 @@
SUBDIR += libglade
SUBDIR += libglade-java
SUBDIR += libglade2
+ SUBDIR += libglade2-reference
SUBDIR += libglademm
SUBDIR += libglademm24
SUBDIR += libgnugetopt
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