1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

39 lines
1.0 KiB
Makefile

# Created by: Oliver Breuninger <ob@seicom.NET>
# $FreeBSD$
PORTNAME= pstotext
PORTVERSION= 1.9
PORTREVISION= 4
CATEGORIES= print
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/ \
http://fossies.org/unix/misc/
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 <bsd.port.mk>