summaryrefslogtreecommitdiff
path: root/graphics/q-graph/Makefile
blob: 82738314208787656729f1343e8a9b6b8932b288 (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
# New ports collection makefile for:	q-graph
# Date created:		14 August 2003
# Whom:			ag@muwiinfa.geschichte.uni-mainz.de Albert Graef
#
# $FreeBSD$
#

PORTNAME=	graph
PORTVERSION=	1.5
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	q-lang
PKGNAMEPREFIX=	q-

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Q-Graph -- graph library and editor for the Q language

RUN_DEPENDS=	${LOCALBASE}/bin/q:${PORTSDIR}/lang/q

USE_GNOME=	gnometarget
GNU_CONFIGURE=	yes

DATADIR=	${PREFIX}/share/q
EXAMPLESDIR=	${PREFIX}/share/examples/q/graph

post-patch:
	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
		${GREP} -l "^examplesdir" | ${XARGS} ${REINPLACE_CMD} -e \
		"s;[(]pkgdatadir[)]/examples;(datadir)/examples/q;"

.include <bsd.port.mk>