summaryrefslogtreecommitdiffstats
path: root/math/graphthing/Makefile
blob: c2097b77fc109e45afd1c299009c491e2fc20f01 (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
35
# Created by: ijliao
# $FreeBSD$

PORTNAME=	graphthing
PORTVERSION=	1.3.2
PORTREVISION=	11
CATEGORIES=	math
MASTER_SITES=	http://graph.seul.org/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Tool that allows you to create, manipulate, and study graphs

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USE_GNOME=	gtk20
USES=		bison gmake tar:bzip2
USE_WX=		2.8
WX_CONF_ARGS=	absolute
GNU_CONFIGURE=	yes
MAKEFILE=	GNUmakefile

LDFLAGS+=	-lpthread

PLIST_FILES=	bin/graphthing bin/gt

post-patch:
	@${REINPLACE_CMD} -e \
		's|@@CXX@|@CXX@|' ${WRKSRC}/src/GNUmakefile.in

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/graphthing ${STAGEDIR}${PREFIX}/bin
	${LN} -sf graphthing ${STAGEDIR}${PREFIX}/bin/gt

.include <bsd.port.mk>
OpenPOWER on IntegriCloud