aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/jgraph/Makefile
blob: 2045941ce8e00d776dc9963c8420d2a96e3b8bf8 (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
# Created by: wolman@cs.washington.edu
# $FreeBSD$

PORTNAME=   jgraph
PORTVERSION=    8.3
CATEGORIES= graphics
MASTER_SITES=   http://web.eecs.utk.edu/~plank/plank/jgraph/
DISTFILES=  ${PORTNAME}.shar.Z

MAINTAINER= ports@FreeBSD.org
COMMENT=    Generates postscript graphs

NO_LATEST_LINK= yes
EXTRACT_CMD=    uncompress
EXTRACT_BEFORE_ARGS=    -c
EXTRACT_AFTER_ARGS= | ${SH}

NO_WRKSUBDIR=   yes
MAKEFILE=   makefile
MAKE_ENV+=  DATADIR=${DATADIR}
CFLAGS+=    -Wno-return-type

post-patch:
    @${REINPLACE_CMD} -E -e 's,(PREFIX|DATADIR)},DESTDIR}$${&,' \
        -e 's|-o bin -g bin||' ${WRKSRC}/makefile

.include <bsd.port.mk>