Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / converters / pstotext / Makefile
blob6b52031cfe661a9eb2b95dae650e0f8b88406c0e
1 # $NetBSD: Makefile,v 1.2 2010/04/28 07:32:40 obache Exp $
4 DISTNAME= pstotext-1.9
5 PKGREVISION= 1
6 CATEGORIES= converters print
7 MASTER_SITES= ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/contrib/
9 MAINTAINER= schaecsn@gmx.net
10 HOMEPAGE= http://pages.cs.wisc.edu/~ghost/doc/pstotext.htm
11 COMMENT= Postscript to text converter
12 #LICENSE= see the end of pstotext.txt.
14 USE_TOOLS+= gs:run
15 USE_TOOLS+= gmake
17 SUBST_CLASSES+= gs
18 SUBST_STAGE.gs= do-configure
19 SUBST_FILES.gs= main.c
20 SUBST_SED.gs= -e 's|@GS_CMD@|${TOOLS_PATH.gs}|'
22 INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/${PKGBASE}
24 do-install:
25 ${INSTALL_PROGRAM} ${WRKSRC}/pstotext ${DESTDIR}${PREFIX}/bin
26 ${INSTALL_DATA} ${WRKSRC}/pstotext.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
27 ${INSTALL_DATA} ${WRKSRC}/pstotext.hlp ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
28 ${INSTALL_DATA} ${WRKSRC}/pstotext.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
31 .include "../../mk/bsd.pkg.mk"