aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/epstool/Makefile
blob: 01d7f43989b6be4bc57a064189d7627956ac4e19 (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
36
# Created by: Yuzo FURUKAWA <hurukawa@kuee.kyoto-u.ac.jp>
# $FreeBSD$

PORTNAME=   epstool
PORTVERSION=    3.08
PORTREVISION=   6
CATEGORIES= graphics
MASTER_SITES=   LOCAL/bf

MAINTAINER= bf@FreeBSD.org
COMMENT=    Create or extract preview bitmaps in EPS files

LICENSE=    GPLv2

USES=       ghostscript:run gmake
MAKEFILE=   makefile
MAKE_ARGS=  MAKE="${MAKE_CMD}" GSCDEBUG="" CC="${CC}" CCAUX="${CC}" \
        CLINK="${CC} ${LDFLAGS}" LINK="${CC} ${LDFLAGS}" EPSLIB="" \
        GTKCFLAGS="" GTKLIBS="" LIBPNGCFLAGS="" LIBPNGLIBS=""
ALL_TARGET= ${PORTNAME}
MAKE_JOBS_UNSAFE=   yes

PLIST_FILES=    bin/epstool man/man1/epstool.1.gz

OPTIONS_DEFINE= DOCS

PORTDOCS=   epstool.htm gsview.css

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/epstool ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/doc/epstool.1 ${STAGEDIR}${MANPREFIX}/man/man1
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/epstool.htm ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/gsview.css ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>