1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/graphics/epstool/Makefile
2012-06-01 05:26:28 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: epstool
# Date created: 23 October 1999
# Whom: Yuzo FURUKAWA <hurukawa@kuee.kyoto-u.ac.jp>
#
# $FreeBSD$
#
PORTNAME= epstool
PORTVERSION= 3.08
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:S/$/:1/} \
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/:2
MASTER_SITE_SUBDIR= support/ghostscript/ghostgum/:1
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:1,2
MAINTAINER= bf@FreeBSD.org
COMMENT= Create or extract preview bitmaps in EPS files
USE_GHOSTSCRIPT_RUN= yes
USE_GMAKE= yes
MAKEFILE= makefile
MAKE_ARGS= MAKE="${GMAKE}" GSCDEBUG="" CC="${CC}" CCAUX="${CC}" \
CLINK="${CC} ${LDFLAGS}" LINK="${CC} ${LDFLAGS}" EPSLIB="" \
GTKCFLAGS="" GTKLIBS="" LIBPNGCFLAGS="" LIBPNGLIBS=""
ALL_TARGET= ${PORTNAME}
MAKE_JOBS_UNSAFE= yes
MAN1= epstool.1
PLIST_FILES= bin/epstool
LICENSE= GPLv2
.if !defined(NOPORTDOCS)
PORTDOCS= epstool.htm gsview.css
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/epstool ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/epstool.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/epstool.htm ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/gsview.css ${DOCSDIR}
.endif
.include <bsd.port.mk>