summaryrefslogtreecommitdiff
path: root/graphics/epstool/Makefile
blob: 79d13744af38e23840870d98826d0a028c7f2958 (plain)
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
# New ports collection makefile for:	epstool
# Date created:		23 October 1999
# Whom:			Yuzo FURUKAWA <hurukawa@kuee.kyoto-u.ac.jp>
#
# $FreeBSD$
#

PORTNAME=	epstool
PORTVERSION=	1.80
CATEGORIES=	graphics
MASTER_SITES=	ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/
DISTNAME=	gsv40src

MAINTAINER=	ports@FreeBSD.org

RUN_DEPENDS=	gs:${PORTSDIR}/print/ghostscript6

WRKSRC=		${WRKDIR}/${PORTNAME}

USE_ZIP=	yes
MAKEFILE=	makefile.unx

post-extract:
.for file in epstool.zip src.zip
	@cd ${WRKDIR} && unzip -q -aa ${file}
.endfor

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/epstool
	${INSTALL_DATA} ${WRKSRC}/epstool.htm ${PREFIX}/share/doc/epstool
.endif

.include <bsd.port.mk>