2012-10-20 07:43:38 +02:00
|
|
|
# Created by: Oliver Breuninger <ob@seicom.NET>
|
1999-12-29 08:26:56 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-04-09 19:50:59 +02:00
|
|
|
PORTNAME= pstotext
|
2008-09-02 21:06:45 +02:00
|
|
|
PORTVERSION= 1.9
|
2016-03-24 16:47:50 +01:00
|
|
|
PORTREVISION= 6
|
1999-12-29 08:26:56 +01:00
|
|
|
CATEGORIES= print
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= http://ftp.gwdg.de/pub/ghostscript/contrib/ \
|
|
|
|
http://ftp.sunet.se/pub/text-processing/postscript/interpreters/ghostscript/contrib/ \
|
|
|
|
http://gd.tuwien.ac.at/pub/publishing/ghostscript/contrib/ \
|
2013-03-23 18:55:20 +01:00
|
|
|
http://fossies.org/unix/misc/
|
1999-12-29 08:26:56 +01:00
|
|
|
|
2010-07-31 15:22:14 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-10-20 07:43:38 +02:00
|
|
|
COMMENT= PostScript to Text converter
|
2012-09-21 12:07:33 +02:00
|
|
|
|
2014-06-15 16:03:26 +02:00
|
|
|
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
|
2008-09-02 21:06:45 +02:00
|
|
|
|
2015-07-16 22:53:28 +02:00
|
|
|
USES= ghostscript:run
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2014-06-15 16:03:26 +02:00
|
|
|
SUB_LIST= LICENSE=${LICENSE} \
|
|
|
|
LICENSE_DIR=${_LICENSE_DIR}
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2014-06-15 16:03:26 +02:00
|
|
|
PLIST_FILES= bin/pstotext \
|
|
|
|
man/man1/pstotext.1.gz
|
2012-10-20 07:43:38 +02:00
|
|
|
|
2008-09-02 21:06:45 +02:00
|
|
|
post-patch:
|
2014-06-15 16:03:26 +02:00
|
|
|
@${REINPLACE_CMD} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
|
|
|
${WRKSRC}/main.c \
|
|
|
|
${WRKSRC}/pstotext.1
|
1999-12-29 08:26:56 +01:00
|
|
|
|
2000-10-13 22:27:52 +02:00
|
|
|
do-install:
|
2014-06-15 16:03:26 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pstotext ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/pstotext.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
2000-10-13 22:27:52 +02:00
|
|
|
|
1999-12-29 08:26:56 +01:00
|
|
|
.include <bsd.port.mk>
|