2006-01-01 00:39:28 +01:00
|
|
|
PORTNAME= ps2eps
|
2008-05-04 04:32:37 +02:00
|
|
|
PORTVERSION= 1.64
|
2016-03-24 16:47:50 +01:00
|
|
|
PORTREVISION= 5
|
2006-01-01 00:39:28 +01:00
|
|
|
CATEGORIES= print
|
2006-01-24 09:27:18 +01:00
|
|
|
MASTER_SITES= http://www.tm.uka.de/~bless/ \
|
|
|
|
http://www.ipv6.tm.uka.de/~bless/
|
2006-01-01 00:39:28 +01:00
|
|
|
|
2016-03-02 06:41:03 +01:00
|
|
|
MAINTAINER= jnlin@freebsd.cs.nctu.edu.tw
|
2006-01-01 00:39:28 +01:00
|
|
|
COMMENT= Generate Encapsulated Postscript file from Postscript document
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= http://www.tm.uka.de/~bless/ps2eps
|
2006-01-01 00:39:28 +01:00
|
|
|
|
2020-07-01 10:50:28 +02:00
|
|
|
CONFLICTS_INSTALL= texlive-base
|
|
|
|
|
2006-01-01 00:39:28 +01:00
|
|
|
WRKSRC= ${WRKDIR}/ps2eps
|
|
|
|
|
2015-07-16 22:53:28 +02:00
|
|
|
USES= ghostscript:run perl5
|
2013-09-04 15:07:40 +02:00
|
|
|
USE_PERL5= run
|
2014-07-07 14:43:39 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2006-01-01 00:39:28 +01:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
${CC} -o ${WRKSRC}/bbox ${WRKSRC}/src/C/bbox.c
|
|
|
|
|
|
|
|
do-install:
|
2014-07-07 14:43:39 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bbox ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/ps2eps ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/man1/bbox.1 ${STAGEDIR}${PREFIX}/man/man1/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/man1/ps2eps.1 ${STAGEDIR}${PREFIX}/man/man1/
|
2006-01-01 00:39:28 +01:00
|
|
|
|
2016-07-19 13:04:13 +02:00
|
|
|
post-install-DOCS-on:
|
2014-07-07 14:43:39 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/pdf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Changes.txt ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/html/bbox.html ${STAGEDIR}${DOCSDIR}/html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/html/ps2eps.html ${STAGEDIR}${DOCSDIR}/html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/pdf/bbox.pdf ${STAGEDIR}${DOCSDIR}/pdf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/pdf/ps2eps.pdf ${STAGEDIR}${DOCSDIR}/pdf
|
2006-01-01 00:39:28 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|