diff options
author | lippe <lippe@FreeBSD.org> | 2008-09-03 03:06:45 +0800 |
---|---|---|
committer | lippe <lippe@FreeBSD.org> | 2008-09-03 03:06:45 +0800 |
commit | f05e36a13b4c746aeceefc93a11d757b512faef5 (patch) | |
tree | ca87abff5627852b119d3a7bcf7b523e975c6d7d /print/pstotext/Makefile | |
parent | 8b623f208ea72409c3021fb018d94b689298828a (diff) | |
download | freebsd-ports-gnome-f05e36a13b4c746aeceefc93a11d757b512faef5.tar.gz freebsd-ports-gnome-f05e36a13b4c746aeceefc93a11d757b512faef5.tar.zst freebsd-ports-gnome-f05e36a13b4c746aeceefc93a11d757b512faef5.zip |
- Update to 1.9.
PR: ports/125611
Submitted by: bf <bf2006a@yahoo.com>
Approved by: maintainer timeout (> 2 weeks)
Diffstat (limited to 'print/pstotext/Makefile')
-rw-r--r-- | print/pstotext/Makefile | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/print/pstotext/Makefile b/print/pstotext/Makefile index f81d022f1f7a..d060dd8d0aea 100644 --- a/print/pstotext/Makefile +++ b/print/pstotext/Makefile @@ -6,12 +6,9 @@ # PORTNAME= pstotext -PORTVERSION= 1.8g -PORTREVISION= 1 +PORTVERSION= 1.9 CATEGORIES= print -MASTER_SITES= http://www.breuninger.org/files/distfiles/ -DISTNAME= ${PORTNAME} -EXTRACT_SUFX= .tar.Z +MASTER_SITES= http://mirror.cs.wisc.edu/pub/mirrors/ghost/contrib/ MAINTAINER= ob@breuninger.org COMMENT= A PostScript to Text converter @@ -20,9 +17,18 @@ 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 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/pstotext.1 ${MAN1PREFIX}/man/man1 +.ifndef(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/pstotext.txt ${DOCSDIR}/copyright +.endif .include <bsd.port.mk> |