# Created by: Oliver Breuninger # $FreeBSD$ PORTNAME= pstotext PORTVERSION= 1.9 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= http://ftp.gwdg.de/pub/%SUBDIR%/ \ http://ftp.sunet.se/pub/text-processing/postscript/interpreters/%SUBDIR%/ \ http://gd.tuwien.ac.at/pub/publishing/%SUBDIR%/ \ http://fossies.org/unix/misc/ MASTER_SITE_SUBDIR= ghostscript/contrib MAINTAINER= ports@FreeBSD.org COMMENT= PostScript to Text converter LICENSE= EULA LICENSE_NAME= End User License Agreement LICENSE_FILE= ${WRKSRC}/pstotext.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USE_GHOSTSCRIPT_RUN= yes SUB_LIST= LICENSE=${LICENSE} \ LICENSE_DIR=${_LICENSE_DIR} PLIST_FILES= bin/pstotext \ man/man1/pstotext.1.gz post-patch: @${REINPLACE_CMD} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${WRKSRC}/main.c \ ${WRKSRC}/pstotext.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pstotext ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pstotext.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include