aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-05-10 08:58:42 +0800
committerjylefort <jylefort@FreeBSD.org>2006-05-10 08:58:42 +0800
commit31bce7aa8e52ca979fccabc1fa8ba96f6a754fc0 (patch)
tree0ae247bb6a9ee1bba04997df1bb440540d054c07
parentaee156c45e4347a72b6e9e55ed135205c49223a2 (diff)
downloadfreebsd-ports-gnome-31bce7aa8e52ca979fccabc1fa8ba96f6a754fc0.tar.gz
freebsd-ports-gnome-31bce7aa8e52ca979fccabc1fa8ba96f6a754fc0.tar.zst
freebsd-ports-gnome-31bce7aa8e52ca979fccabc1fa8ba96f6a754fc0.zip
Move the libgnome programming reference to the libgnome-reference port.
-rw-r--r--x11/Makefile1
-rw-r--r--x11/libgnome-reference/Makefile5
-rw-r--r--x11/libgnome/Makefile18
-rw-r--r--x11/libgnome/pkg-plist27
4 files changed, 17 insertions, 34 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 29de1a906888..c1e49a244134 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -125,6 +125,7 @@
SUBDIR += libexo
SUBDIR += libgnome
SUBDIR += libgnome-java
+ SUBDIR += libgnome-reference
SUBDIR += libgnomemm
SUBDIR += libgnomemm26
SUBDIR += libsx
diff --git a/x11/libgnome-reference/Makefile b/x11/libgnome-reference/Makefile
new file mode 100644
index 000000000000..c1f89f7b59bd
--- /dev/null
+++ b/x11/libgnome-reference/Makefile
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+REFERENCE_SRC= ${WRKSRC}/doc/reference
+
+.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"
diff --git a/x11/libgnome/Makefile b/x11/libgnome/Makefile
index 8356bc83aa48..ecc70c77de87 100644
--- a/x11/libgnome/Makefile
+++ b/x11/libgnome/Makefile
@@ -16,16 +16,22 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Libraries for GNOME, a GNU desktop environment
+USE_BZIP2= yes
+PREFIX?= ${X11BASE}
+
+.if !defined(REFERENCE_PORT)
+
+PORTREVISION= 1
+
BUILD_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
RUN_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
USE_GETTEXT= yes
-USE_BZIP2= yes
-USE_X_PREFIX= yes
+USE_XLIB= yes
USE_XPM= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack intlhack esound \
- gnomevfs2 libxslt ltverhack
+ gnomevfs2 libxslt ltverhack referencehack
USE_BISON= yes
INSTALLS_SHLIB= yes
USE_AUTOTOOLS= libtool:15
@@ -54,9 +60,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/libgnome/libgnome-2.0.pc.in
@${REINPLACE_CMD} -e '/^$$/d' ${WRKSRC}/po/POTFILES.in
-.if defined(NOPORTDOCS)
- @${REINPLACE_CMD} -e 's|gnome-data po doc|gnome-data po|g' \
- ${WRKSRC}/Makefile.in
-.endif
.include <bsd.port.mk>
+
+.endif
diff --git a/x11/libgnome/pkg-plist b/x11/libgnome/pkg-plist
index 0b3acb8a4c1f..36702bbf30a3 100644
--- a/x11/libgnome/pkg-plist
+++ b/x11/libgnome/pkg-plist
@@ -25,32 +25,6 @@ lib/libgnome-2.so
lib/libgnome-2.so.0
libdata/bonobo/servers/GNOME_Moniker_std.server
libdata/pkgconfig/libgnome-2.0.pc
-%%PORTDOCS%%%%DOCSDIR%%/ch01s02.html
-%%PORTDOCS%%%%DOCSDIR%%/ch01s03.html
-%%PORTDOCS%%%%DOCSDIR%%/ch01s04.html
-%%PORTDOCS%%%%DOCSDIR%%/ch01s05.html
-%%PORTDOCS%%%%DOCSDIR%%/home.png
-%%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%%%DOCSDIR%%/index.sgml
-%%PORTDOCS%%%%DOCSDIR%%/left.png
-%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-config.html
-%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-exec.html
-%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-gconf.html
-%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-help.html
-%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-i18n.html
-%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-init.html
-%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-program.html
-%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-score.html
-%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-sound.html
-%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-triggers.html
-%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-url.html
-%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-util.html
-%%PORTDOCS%%%%DOCSDIR%%/libgnome-libgnometypebuiltins.html
-%%PORTDOCS%%%%DOCSDIR%%/libgnome.devhelp
-%%PORTDOCS%%%%DOCSDIR%%/libgnome.html
-%%PORTDOCS%%%%DOCSDIR%%/right.png
-%%PORTDOCS%%%%DOCSDIR%%/style.css
-%%PORTDOCS%%%%DOCSDIR%%/up.png
share/locale/am/LC_MESSAGES/libgnome-2.0.mo
share/locale/ar/LC_MESSAGES/libgnome-2.0.mo
share/locale/az/LC_MESSAGES/libgnome-2.0.mo
@@ -129,4 +103,3 @@ share/locale/zh_TW/LC_MESSAGES/libgnome-2.0.mo
@dirrmtry share/locale/tt
@dirrm include/libgnome-2.0/libgnome
@dirrm include/libgnome-2.0
-%%PORTDOCS%%@dirrm %%DOCSDIR%%