aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/peps/Makefile
blob: fc0790b17e67256a21c38aad0268b0a78a3ec0b9 (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
# Created by: petef@FreeBSD.org
# $FreeBSD$

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

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

LICENSE=    BSD2CLAUSE

USES=       ghostscript:run
MAKE_ENV=   GSPATH="${LOCALBASE}/bin/gs" GZPATH="/usr/bin/gzip" \
        ETC="${PREFIX}/etc"

ALL_TARGET= peps
PLIST_FILES=    bin/peps \
        etc/peps.mime \
        man/man1/peps.1.gz
PORTDOCS=   peps.pdf

OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS

.include <bsd.port.options.mk>

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/peps ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/peps.1 ${STAGEDIR}${MANPREFIX}/man/man1
    ${INSTALL_DATA} ${WRKSRC}/peps.mime ${STAGEDIR}${PREFIX}/etc

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/peps.pdf ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>