aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/peps/Makefile
blob: 6a26803709026a8d8ab5447574eea0f1c290a946 (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
37
38
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:    peps
# Date created:             5 July 2001
# Whom:                 petef@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   peps
PORTVERSION=    2.0
PORTREVISION=   5
CATEGORIES= graphics
MASTER_SITES=   http://peps.redprince.net/peps/ \
        ftp://ftp.peps.redprince.net/unix/peps/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Converts EPS images to anti-aliased bitmaps

USE_GHOSTSCRIPT_RUN=    yes
MAKE_ENV=   GSPATH="${LOCALBASE}/bin/gs" GZPATH="/usr/bin/gzip" \
        ETC="${PREFIX}/etc"

MAN1=       peps.1
PORTDOCS=   peps.pdf
PLIST_FILES=    bin/peps \
        etc/peps.mime

MAKE_JOBS_SAFE= yes

.if defined(WITHOUT_X11)
ALL_TARGET= peps
.else
PLIST_FILES+=   bin/xpeps
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/peps ${PREFIX}/bin
.if !defined(WITHOUT_X11)
    ${INSTALL_PROGRAM} ${WRKSRC}/xpeps ${PREFIX}/bin
.endif
    ${INSTALL_MAN} ${WRKSRC}/peps.1 ${MANPREFIX}/man/man1
    ${INSTALL_DATA} ${WRKSRC}/peps.mime ${PREFIX}/etc
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/peps.pdf ${DOCSDIR}
.endif

.include <bsd.port.mk>