summaryrefslogtreecommitdiff
path: root/devel/gtl/Makefile
blob: e61efde76460039c3de8a99365d4890a3ab4eede (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
36
37
38
# $NetBSD: Makefile,v 1.4 2000/07/14 06:51:16 jlam Exp $

DISTNAME=		GTL-0.3.3
PKGNAME=		gtl-0.3.3
CATEGORIES=		devel
MASTER_SITES=		http://infosun.fmi.uni-passau.de/GTL/archive/

MAINTAINER=		jlam@netbsd.org
HOMEPAGE=		http://www.fmi.uni-passau.de/Graphlet/GTL/

DEPENDS+=		sgi-stl-*:../../devel/sgi-stl

GNU_CONFIGURE=		# defined
USE_LIBTOOL=		# defined
LTCONFIG_OVERRIDE=	${WRKSRC}/ltconfig

CONFIGURE_ENV+=		CPPFLAGS="${CPPFLAGS}"
CPPFLAGS+=		-I${LOCALBASE}/include/sgi-stl

GTL_VERS=		0:3
MAKE_ENV+=		GTL_VERS="${GTL_VERS}"

MESSAGE_FILE=		${WRKDIR}/MESSAGE
HTMLDOCDIR=		${PREFIX}/share/doc/html/GTL

post-build:
	${SED}	-e "s,@LOCALBASE@,${LOCALBASE},g" \
		< ${PKGDIR}/MESSAGE > ${MESSAGE_FILE}

post-install:
	${INSTALL_DATA_DIR} ${HTMLDOCDIR}
	${INSTALL_DATA_DIR} ${HTMLDOCDIR}/icons
	cd ${WRKSRC}/doc/html; \
		${INSTALL_DATA} *.html ${HTMLDOCDIR}
	cd ${WRKSRC}/doc/html/icons; \
		${INSTALL_DATA} *.gif *.jpeg ${HTMLDOCDIR}/icons

.include "../../mk/bsd.pkg.mk"