1999-11-26 20:25:32 +00:00
|
|
|
# New ports collection makefile for: epstool
|
|
|
|
# Date created: 23 October 1999
|
|
|
|
# Whom: Yuzo FURUKAWA <hurukawa@kuee.kyoto-u.ac.jp>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-13 06:28:28 +00:00
|
|
|
PORTNAME= epstool
|
2005-07-08 22:25:28 +00:00
|
|
|
PORTVERSION= 3.08
|
1999-11-26 20:25:32 +00:00
|
|
|
CATEGORIES= graphics
|
2004-06-27 18:08:38 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \
|
2004-12-05 18:35:06 +00:00
|
|
|
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/ \
|
|
|
|
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/old/
|
2004-06-27 18:08:38 +00:00
|
|
|
MASTER_SITE_SUBDIR= nonfree/support/ghostscript/ghostgum
|
1999-11-26 20:25:32 +00:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:08:19 +00:00
|
|
|
COMMENT= Create or extract preview bitmaps in EPS files
|
1999-11-26 20:25:32 +00:00
|
|
|
|
2004-01-20 16:30:09 +00:00
|
|
|
USE_GHOSTSCRIPT_RUN= yes
|
1999-11-26 20:25:32 +00:00
|
|
|
|
2003-04-23 23:54:46 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKEFILE= makefile
|
2005-07-08 22:25:28 +00:00
|
|
|
MAKE_ARGS= MAKE="${GMAKE}" GSCDEBUG="" CC="${CC}" CCAUX="${CC}" \
|
2004-04-28 20:09:12 +00:00
|
|
|
CLINK="${CC} ${LDFLAGS}" LINK="${CC} ${LDFLAGS}" EPSLIB="" \
|
|
|
|
GTKCFLAGS="" GTKLIBS="" LIBPNGCFLAGS="" LIBPNGLIBS=""
|
2003-04-23 23:54:46 +00:00
|
|
|
ALL_TARGET= ${PORTNAME}
|
1999-11-26 20:25:32 +00:00
|
|
|
|
2003-10-19 18:22:43 +00:00
|
|
|
MAN1= epstool.1
|
2004-04-28 20:09:12 +00:00
|
|
|
PLIST_FILES= bin/epstool
|
2003-10-19 18:22:43 +00:00
|
|
|
|
2005-07-08 22:25:28 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= epstool.htm gsview.css
|
|
|
|
.endif
|
|
|
|
|
2003-09-27 00:45:43 +00:00
|
|
|
pre-everything::
|
2003-08-31 00:33:20 +00:00
|
|
|
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
|
2003-09-27 00:45:43 +00:00
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
|
|
|
|
@${ECHO_MSG} " AFPL Postscript interpreter instead of GNU one"
|
|
|
|
@${ECHO_MSG} ""
|
2003-08-31 00:33:20 +00:00
|
|
|
.endif
|
|
|
|
|
2003-04-23 23:54:46 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/epstool ${PREFIX}/bin
|
2003-10-19 18:22:43 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/epstool.1 ${MANPREFIX}/man/man1
|
2000-02-29 02:03:02 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-12-08 03:38:17 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2003-04-23 23:54:46 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/epstool.htm ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/gsview.css ${DOCSDIR}
|
2000-02-29 02:03:02 +00:00
|
|
|
.endif
|
1999-11-26 20:25:32 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|