aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-05-11 02:36:55 +0800
committerjylefort <jylefort@FreeBSD.org>2006-05-11 02:36:55 +0800
commitf28411335792a297c7832059ec1d42316130647f (patch)
treeaec1c06fe9a4472c06949051c5a83dcd13086a21 /print
parentce1ddbcdb0852d032f6805dca80e0d69ba629fed (diff)
downloadfreebsd-ports-gnome-f28411335792a297c7832059ec1d42316130647f.tar.gz
freebsd-ports-gnome-f28411335792a297c7832059ec1d42316130647f.tar.zst
freebsd-ports-gnome-f28411335792a297c7832059ec1d42316130647f.zip
Move the libgnomeprint programming reference to the
libgnomeprint-reference port.
Diffstat (limited to 'print')
-rw-r--r--print/Makefile1
-rw-r--r--print/libgnomeprint-reference/Makefile5
-rw-r--r--print/libgnomeprint/Makefile14
-rw-r--r--print/libgnomeprint/pkg-plist25
4 files changed, 17 insertions, 28 deletions
diff --git a/print/Makefile b/print/Makefile
index 673db7d1779a..e5c031545620 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -150,6 +150,7 @@
SUBDIR += lgrind
SUBDIR += libgnomecups
SUBDIR += libgnomeprint
+ SUBDIR += libgnomeprint-reference
SUBDIR += libgnomeprintmm
SUBDIR += libijs
SUBDIR += libotf
diff --git a/print/libgnomeprint-reference/Makefile b/print/libgnomeprint-reference/Makefile
new file mode 100644
index 000000000000..c1f89f7b59bd
--- /dev/null
+++ b/print/libgnomeprint-reference/Makefile
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+REFERENCE_SRC= ${WRKSRC}/doc/reference
+
+.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"
diff --git a/print/libgnomeprint/Makefile b/print/libgnomeprint/Makefile
index b59b96c51b82..903a76d639e2 100644
--- a/print/libgnomeprint/Makefile
+++ b/print/libgnomeprint/Makefile
@@ -8,7 +8,6 @@
PORTNAME= libgnomeprint
PORTVERSION= 2.12.1
-PORTREVISION= 1
CATEGORIES= print gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.12
@@ -17,12 +16,18 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Gnome print support library
+USE_BZIP2= yes
+PREFIX?= ${X11BASE}
+
+.if !defined(REFERENCE_PORT)
+
+PORTREVISION= 2
+
LIB_DEPENDS= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
popt.0:${PORTSDIR}/devel/popt
USE_BISON= yes
-USE_BZIP2= yes
-USE_X_PREFIX= yes
+USE_XLIB= yes
USE_GMAKE= yes
USE_REINPLACE= yes
USE_GNOME= gnomeprefix intlhack gnomehack gnomehier glib20 pango libxml2 \
@@ -57,9 +62,12 @@ post-patch:
@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
's|<malloc[.]h>|<stdlib.h>|'
@${REINPLACE_CMD} -e "/^SUBDIRS =/s|tests||" ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e "/^SUBDIRS =/s|doc||" ${WRKSRC}/Makefile.in
post-install:
@${MKDIR} ${PREFIX}/etc/gnome/libgnomeprint-2.0/fonts
@${TOUCH} ${PREFIX}/etc/gnome/libgnomeprint-2.0/fonts/gnome-print.fontmap
.include <bsd.port.post.mk>
+
+.endif
diff --git a/print/libgnomeprint/pkg-plist b/print/libgnomeprint/pkg-plist
index 0508736bdb1a..6dab88cda124 100644
--- a/print/libgnomeprint/pkg-plist
+++ b/print/libgnomeprint/pkg-plist
@@ -82,30 +82,6 @@ lib/libgnomeprint/%%VERSION%%/modules/transports/libgnomeprint-lpr.a
lib/libgnomeprint/%%VERSION%%/modules/transports/libgnomeprint-lpr.la
lib/libgnomeprint/%%VERSION%%/modules/transports/libgnomeprint-lpr.so
libdata/pkgconfig/libgnomeprint-%%LIBVERSION%%.pc
-%%DOCSDIR%%/home.png
-%%DOCSDIR%%/index.html
-%%DOCSDIR%%/index.sgml
-%%DOCSDIR%%/left.png
-%%DOCSDIR%%/libgnomeprint-Pango-Integration.html
-%%DOCSDIR%%/libgnomeprint-building.html
-%%DOCSDIR%%/libgnomeprint-compiling.html
-%%DOCSDIR%%/libgnomeprint-gnome-font-face.html
-%%DOCSDIR%%/libgnomeprint-gnome-font.html
-%%DOCSDIR%%/libgnomeprint-gnome-glyphlist.html
-%%DOCSDIR%%/libgnomeprint-gnome-pgl.html
-%%DOCSDIR%%/libgnomeprint-gnome-print-config.html
-%%DOCSDIR%%/libgnomeprint-gnome-print-job.html
-%%DOCSDIR%%/libgnomeprint-gnome-print-paper.html
-%%DOCSDIR%%/libgnomeprint-gnome-print-unit.html
-%%DOCSDIR%%/libgnomeprint-gnome-print.html
-%%DOCSDIR%%/libgnomeprint-gnome-rfont.html
-%%DOCSDIR%%/libgnomeprint-resources.html
-%%DOCSDIR%%/libgnomeprint.devhelp
-%%DOCSDIR%%/libgnomeprint.html
-%%DOCSDIR%%/libgnomeprintunsorted.html
-%%DOCSDIR%%/right.png
-%%DOCSDIR%%/style.css
-%%DOCSDIR%%/up.png
share/gnome/libgnomeprint/%%VERSION%%/globals.xml
share/gnome/libgnomeprint/%%VERSION%%/models/GNOME-GENERIC-PS.xml
share/gnome/libgnomeprint/%%VERSION%%/models/GNOME-PDF-WRITER.xml
@@ -195,7 +171,6 @@ share/locale/zh_TW/LC_MESSAGES/libgnomeprint-%%LIBVERSION%%.mo
@dirrm share/gnome/libgnomeprint/%%VERSION%%/models
@dirrm share/gnome/libgnomeprint/%%VERSION%%
@dirrm share/gnome/libgnomeprint
-@dirrm %%DOCSDIR%%
@dirrm lib/libgnomeprint/%%VERSION%%/modules/transports
@dirrm lib/libgnomeprint/%%VERSION%%/modules/filters
@dirrm lib/libgnomeprint/%%VERSION%%/modules