2001-07-07 03:52:10 +00:00
|
|
|
# New ports collection makefile for: peps
|
|
|
|
# Date created: 5 July 2001
|
2001-08-22 23:07:23 +00:00
|
|
|
# Whom: petef@FreeBSD.org
|
2001-07-07 03:52:10 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= peps
|
|
|
|
PORTVERSION= 1.0
|
2003-06-17 01:31:54 +00:00
|
|
|
PORTREVISION= 1
|
2001-07-07 03:52:10 +00:00
|
|
|
CATEGORIES= graphics
|
2002-12-08 18:29:30 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= petef
|
2001-07-07 03:52:10 +00:00
|
|
|
|
2001-08-22 23:07:23 +00:00
|
|
|
MAINTAINER= petef@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Converts EPS images to anti-aliased PGM bitmaps
|
2001-07-07 03:52:10 +00:00
|
|
|
|
2004-02-06 13:12:53 +00:00
|
|
|
PLIST_FILES= bin/peps
|
|
|
|
|
2004-01-20 16:30:09 +00:00
|
|
|
USE_GHOSTSCRIPT_RUN= yes
|
2003-08-31 00:35:54 +00:00
|
|
|
|
2004-01-20 16:30:09 +00:00
|
|
|
RUN_DEPENDS= pnmtopng:${PORTSDIR}/graphics/netpbm
|
2001-07-07 03:52:10 +00:00
|
|
|
|
2002-09-06 03:24:19 +00:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
|
2003-08-31 00:35:54 +00: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
|
|
|
|
|
2001-07-07 03:52:10 +00:00
|
|
|
post-patch:
|
2002-09-06 03:24:19 +00:00
|
|
|
@${REINPLACE_CMD} -e 's!cc -O3!${CC} ${CFLAGS}!' ${WRKSRC}/Makefile
|
2001-07-07 03:52:10 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/peps ${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|