1999-01-17 20:19:18 +00:00
|
|
|
# New ports collection makefile for: gnomeprint
|
|
|
|
# Date created: 15 Jan 1999
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Vanilla I. Shu <vanilla@FreeBSD.org>
|
1999-01-17 20:19:18 +00:00
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1999-01-17 20:19:18 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 17:50:59 +00:00
|
|
|
PORTNAME= gnomeprint
|
2002-09-16 16:12:50 +00:00
|
|
|
PORTVERSION= 0.37
|
2004-02-04 05:10:27 +00:00
|
|
|
PORTREVISION= 1
|
1999-02-02 14:17:53 +00:00
|
|
|
CATEGORIES= print gnome
|
1999-01-27 08:31:54 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2002-09-20 23:42:21 +00:00
|
|
|
MASTER_SITE_SUBDIR= sources/gnome-print/0.37
|
2000-04-09 17:41:40 +00:00
|
|
|
DISTNAME= gnome-print-${PORTVERSION}
|
2002-06-06 04:00:34 +00:00
|
|
|
DIST_SUBDIR= gnome
|
1999-01-17 20:19:18 +00:00
|
|
|
|
2001-05-11 16:36:50 +00:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Gnome print support library
|
1999-01-17 20:19:18 +00:00
|
|
|
|
2004-01-20 16:30:09 +00:00
|
|
|
USE_GHOSTSCRIPT_RUN= yes
|
2003-08-31 02:03:21 +00:00
|
|
|
|
2001-11-22 08:57:36 +00:00
|
|
|
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX
|
2002-03-11 17:25:31 +00:00
|
|
|
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
|
1999-05-30 03:53:04 +00:00
|
|
|
|
2000-09-28 17:58:46 +00:00
|
|
|
PLIST_SUB= VERSION=${PORTVERSION}
|
|
|
|
|
2002-06-06 00:24:35 +00:00
|
|
|
USE_BZIP2= yes
|
1999-01-17 20:19:18 +00:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_PERL5= yes
|
2002-07-11 17:16:10 +00:00
|
|
|
USE_GNOME= gnomehack gnomeprefix gnomehier gnomelibs gnomecanvas
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-09-16 16:12:50 +00:00
|
|
|
USE_LIBTOOL= yes
|
2001-11-20 14:18:25 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2003-08-31 02:03:21 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
pre-everything::
|
|
|
|
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
|
|
|
|
@${ECHO_MSG} " AFPL Postscript interpreter instead of GNU one"
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
.endif
|
1999-01-17 20:19:18 +00:00
|
|
|
|
2001-12-17 09:03:07 +00:00
|
|
|
post-install:
|
|
|
|
@${TOUCH} ${PREFIX}/etc/gnome/fonts/gnome-print-x11.fontmap
|
|
|
|
|
1999-01-17 20:19:18 +00:00
|
|
|
.include <bsd.port.mk>
|