2013-04-24 12:06:47 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2013/04/24 10:06:48 sbd Exp $
|
2010-04-25 14:46:19 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= pstotext-1.9
|
2013-04-24 12:06:47 +02:00
|
|
|
PKGREVISION= 2
|
2010-04-25 14:46:19 +02:00
|
|
|
CATEGORIES= converters print
|
|
|
|
MASTER_SITES= ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/contrib/
|
|
|
|
|
|
|
|
MAINTAINER= schaecsn@gmx.net
|
|
|
|
HOMEPAGE= http://pages.cs.wisc.edu/~ghost/doc/pstotext.htm
|
|
|
|
COMMENT= Postscript to text converter
|
|
|
|
#LICENSE= see the end of pstotext.txt.
|
|
|
|
|
|
|
|
USE_TOOLS+= gs:run
|
|
|
|
USE_TOOLS+= gmake
|
|
|
|
|
|
|
|
SUBST_CLASSES+= gs
|
|
|
|
SUBST_STAGE.gs= do-configure
|
|
|
|
SUBST_FILES.gs= main.c
|
|
|
|
SUBST_SED.gs= -e 's|@GS_CMD@|${TOOLS_PATH.gs}|'
|
|
|
|
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/${PKGBASE}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pstotext ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pstotext.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pstotext.hlp ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pstotext.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|