diff options
Diffstat (limited to 'graphics/pstoepsi/Makefile')
-rw-r--r-- | graphics/pstoepsi/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/graphics/pstoepsi/Makefile b/graphics/pstoepsi/Makefile new file mode 100644 index 000000000000..ab14e2576cf3 --- /dev/null +++ b/graphics/pstoepsi/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: pstoepsi +# Date created: 21 Jul 2002 +# Whom: Mita Yoshio <mita@jp.FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= pstoepsi +PORTVERSION= 20020711 +CATEGORIES= graphics +MASTER_SITES= ftp://bourbon.usc.edu/pub/tgif/tools/pstoepsi/ +DISTFILES= pstoepsi README.this-site +DIST_SUBDIR= pstoepsi +EXTRACT_ONLY= #empty + +MAINTAINER= mita@FreeBSD.org + +RUN_DEPENDS= pbmtoepsi:${PORTSDIR}/graphics/netpbm \ + gs:${PORTSDIR}/print/ghostscript-gnu + +NO_WRKSUBDIR= yes + +.SILENT: + +pre-patch: + ${CP} ${DISTDIR}/${DIST_SUBDIR}/pstoepsi ${WRKDIR}/pstoepsi.prefix + ${CP} ${DISTDIR}/${DIST_SUBDIR}/README.this-site ${WRKDIR} + +do-build: + ${SED} -e "s+%%PREFIX%%+${PREFIX}+g" ${WRKDIR}/pstoepsi.prefix > \ + ${WRKDIR}/pstoepsi + ${GZIP_CMD} ${WRKDIR}/README.this-site + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/pstoepsi ${PREFIX}/bin + ${MKDIR} ${PREFIX}/share/doc/pstoepsi + ${INSTALL_DATA} ${WRKDIR}/README.this-site.gz \ + ${PREFIX}/share/doc/pstoepsi + +.include <bsd.port.mk> |