blob: 6ddbcfc41ef2ed4357f465d0a5477d9064d9bd5f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Created by: Mita Yoshio <mita@jp.FreeBSD.org>
# $FreeBSD$
PORTNAME= pstoepsi
PORTVERSION= 20020711
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= ftp://bourbon.usc.edu/pub/tgif/tools/pstoepsi/
DISTFILES= pstoepsi README.this-site
DIST_SUBDIR= pstoepsi
EXTRACT_ONLY= #empty
MAINTAINER= ports@FreeBSD.org
COMMENT= Wiliam Chia-Wei Cheng's yet another PS to EPSI converter
RUN_DEPENDS= pbmtoepsi:${PORTSDIR}/graphics/netpbm
USE_GHOSTSCRIPT_RUN= yes
NO_WRKSUBDIR= yes
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 ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/README.this-site.gz ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|