1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/print/pstotext/Makefile
Martin Wilke fce9e21f7c - Update MASTER_SITES
PR:		177266
Submitted by:	ports fury
2013-03-23 17:55:20 +00:00

38 lines
993 B
Makefile

# Created by: Oliver Breuninger <ob@seicom.NET>
# $FreeBSD$
PORTNAME= pstotext
PORTVERSION= 1.9
PORTREVISION= 3
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
USE_GHOSTSCRIPT_RUN= yes
MAN1= pstotext.1
PLIST_FILES= bin/pstotext
PORTDOCS= copyright
.include <bsd.port.options.mk>
post-patch:
${REINPLACE_CMD} -e 's;%%LOCALBASE%%;${LOCALBASE};g' ${WRKSRC}/main.c
${REINPLACE_CMD} -e 's;%%PREFIX%%;${PREFIX};g' ${WRKSRC}/pstotext.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pstotext ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/pstotext.1 ${MAN1PREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/pstotext.txt ${DOCSDIR}/copyright
.endif
.include <bsd.port.mk>