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