1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/graphics/peps/Makefile
Joseph Koshy cf8e9ef60b Add a patch that makes PEPS check the exit status of the 'gs' pipeline
that it invokes.  This allows a faulty EPS file to stop a documentation
build rather than silently produce corrupted images.

Bump PORTREVISION.

Approved by:	petef [MAINTAINER]
2003-06-17 01:31:54 +00:00

30 lines
618 B
Makefile

# New ports collection makefile for: peps
# Date created: 5 July 2001
# Whom: petef@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= peps
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= petef
MAINTAINER= petef@FreeBSD.org
COMMENT= Converts EPS images to anti-aliased PGM bitmaps
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu \
pnmtopng:${PORTSDIR}/graphics/netpbm
USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} -e 's!cc -O3!${CC} ${CFLAGS}!' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/peps ${PREFIX}/bin
.include <bsd.port.mk>