1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Move the libgnomeprint programming reference to the

libgnomeprint-reference port.
This commit is contained in:
Jean-Yves Lefort 2006-05-10 18:36:55 +00:00
parent 7eae6c3634
commit 2e84f9cc1f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161976
4 changed files with 17 additions and 28 deletions

View File

@ -150,6 +150,7 @@
SUBDIR += lgrind
SUBDIR += libgnomecups
SUBDIR += libgnomeprint
SUBDIR += libgnomeprint-reference
SUBDIR += libgnomeprintmm
SUBDIR += libijs
SUBDIR += libotf

View File

@ -0,0 +1,5 @@
# $FreeBSD$
REFERENCE_SRC= ${WRKSRC}/doc/reference
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -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

View File

@ -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