freebsd-ports/print/gnome-print/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

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