1998-07-13 04:19:25 +02:00
|
|
|
# New ports collection makefile for: dgs
|
|
|
|
# Date created: 22 April 1998
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@technologist.com>
|
|
|
|
#
|
1999-08-31 04:51:23 +02:00
|
|
|
# $FreeBSD$
|
1998-07-13 04:19:25 +02:00
|
|
|
#
|
|
|
|
|
2000-04-13 21:19:05 +02:00
|
|
|
PORTNAME= dgs
|
2001-02-05 17:18:54 +01:00
|
|
|
PORTVERSION= 0.5.9
|
2004-02-04 06:10:27 +01:00
|
|
|
PORTREVISION= 1
|
1998-07-13 04:19:25 +02:00
|
|
|
CATEGORIES= x11
|
2001-01-28 20:05:27 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 08:41:29 +01:00
|
|
|
MASTER_SITE_SUBDIR= dgs
|
1998-07-13 04:19:25 +02:00
|
|
|
|
2003-11-03 02:19:26 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:36:20 +01:00
|
|
|
COMMENT= A display ghostscript system
|
1998-07-13 04:19:25 +02:00
|
|
|
|
2004-01-20 17:30:09 +01:00
|
|
|
USE_GHOSTSCRIPT_RUN= yes
|
2003-08-31 03:28:49 +02:00
|
|
|
|
2004-04-10 19:26:55 +02:00
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2001-09-11 04:30:09 +02:00
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
2000-10-05 08:23:01 +02:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff
|
1998-07-13 04:19:25 +02:00
|
|
|
|
1998-08-05 11:31:52 +02:00
|
|
|
USE_X_PREFIX= yes
|
2003-11-20 16:06:14 +01:00
|
|
|
USE_PERL5_BUILD=yes
|
2000-10-05 08:23:01 +02:00
|
|
|
USE_GMAKE= yes
|
2002-07-15 19:21:56 +02:00
|
|
|
USE_GNOME= glib12
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
1999-11-09 09:50:56 +01:00
|
|
|
GNU_CONFIGURE= yes
|
1998-07-13 04:19:25 +02:00
|
|
|
|
2000-01-14 10:44:13 +01:00
|
|
|
MAN1= dgs.1 dpsnx.agent.1
|
2000-10-13 11:37:27 +02:00
|
|
|
MANN= dpsexec.man makepsres.man xepsf.man
|
|
|
|
|
2002-09-14 15:32:06 +02:00
|
|
|
.ifdef USE_DGS
|
|
|
|
.error You have `USE_DGS' variable defined either in environment or in make(1) arguments. Please undefine and try again.
|
|
|
|
.endif
|
|
|
|
|
2004-04-17 02:17:56 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-07-23 21:10:32 +02:00
|
|
|
.if ${X_WINDOW_SYSTEM:L} != xfree86-3
|
2004-04-17 02:17:56 +02:00
|
|
|
IGNORE= "is included in XFree86 4.x and above"
|
|
|
|
.endif
|
|
|
|
|
2003-08-31 03:28:49 +02:00
|
|
|
pre-fetch:
|
|
|
|
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
|
|
|
|
@${ECHO} " AFPL Postscript interpreter instead of GNU one"
|
|
|
|
@${ECHO} ""
|
|
|
|
.endif
|
|
|
|
|
2000-10-13 11:37:27 +02:00
|
|
|
pre-patch:
|
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
|
|
's|manm|mann|g'
|
|
|
|
|
2004-04-17 02:17:56 +02:00
|
|
|
.include <bsd.port.post.mk>
|