1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/print/pstotext/Makefile
Felippe de Meirelles Motta 71c95c84ef - Update to 1.9.
PR:		ports/125611
Submitted by:	bf <bf2006a@yahoo.com>
Approved by:	maintainer timeout (> 2 weeks)
2008-09-02 19:06:45 +00:00

35 lines
836 B
Makefile

# New ports collection makefile for: pstotext
# Date created: December 6, 1999
# Whom: Oliver Breuninger <ob@seicom.NET>
#
# $FreeBSD$
#
PORTNAME= pstotext
PORTVERSION= 1.9
CATEGORIES= print
MASTER_SITES= http://mirror.cs.wisc.edu/pub/mirrors/ghost/contrib/
MAINTAINER= ob@breuninger.org
COMMENT= A PostScript to Text converter
USE_GHOSTSCRIPT_RUN= yes
MAN1= pstotext.1
PLIST_FILES= bin/pstotext
PORTDOCS= copyright
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
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/pstotext.txt ${DOCSDIR}/copyright
.endif
.include <bsd.port.mk>