diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2006-05-10 18:36:55 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2006-05-10 18:36:55 +0000 |
commit | 2e84f9cc1f98493872be8e362570956bb8fd02f8 (patch) | |
tree | 75a3c7a78f213ef75b9e30e43718d13c61537d63 /print/libgnomeprint | |
parent | 7eae6c3634cbfd32be88f1bec8908dd44f44f94e (diff) | |
download | ports-2e84f9cc1f98493872be8e362570956bb8fd02f8.tar.gz ports-2e84f9cc1f98493872be8e362570956bb8fd02f8.zip |
Move the libgnomeprint programming reference to the
libgnomeprint-reference port.
Notes
Notes:
svn path=/head/; revision=161976
Diffstat (limited to 'print/libgnomeprint')
-rw-r--r-- | print/libgnomeprint/Makefile | 14 | ||||
-rw-r--r-- | print/libgnomeprint/pkg-plist | 25 |
2 files changed, 11 insertions, 28 deletions
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 |