pkgsrc/graphics/ps2eps/Makefile
minskim a75eb4582a Update ps2eps to 1.64.
Changes since 1.58:
- Tried to make DSCfilter command more robust
- better detection for files that have a binary heading stuff containing
  even %! as character sequence
- changed year in comment and info printout only
- incorporated changes for Windows/Cygwin detection
- removed surrounding ticks '' for -c $translation in $translatecmd
- removed useless/unsupported 2>&1 in $bboxver for Windows
- fix for two negative offsets in translation
2007-05-29 01:22:17 +00:00

30 lines
806 B
Makefile

# $NetBSD: Makefile,v 1.3 2007/05/29 01:22:17 minskim Exp $
DISTNAME= ps2eps-1.64
CATEGORIES= graphics
MASTER_SITES= http://www.tm.uka.de/~bless/
EXTRACT_SUFX= .zip
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://www.tm.uka.de/~bless/ps2eps
COMMENT= Tool for generating EPS Format files from one-page PS documents
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= perl:run
WRKSRC= ${WRKDIR}/ps2eps
REPLACE_PERL+= bin/ps2eps
INSTALLATION_DIRS+= bin man/man1
do-build:
cd ${WRKSRC:Q}/src/C && ${CC} ${CFLAGS} -o bbox bbox.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC:Q}/src/C/bbox ${DESTDIR:Q}${PREFIX:Q}/bin
${INSTALL_SCRIPT} ${WRKSRC:Q}/bin/ps2eps ${DESTDIR:Q}${PREFIX:Q}/bin
${INSTALL_MAN} ${WRKSRC:Q}/doc/man/man1/*.1 \
${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR:Q}/man1
.include "../../mk/bsd.pkg.mk"