summaryrefslogtreecommitdiff
path: root/devel/gtl/Makefile
blob: 6d2a483d3e97b6bab59191ba175c50bf6789e978 (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
# $NetBSD: Makefile,v 1.30 2012/10/31 11:17:04 asau Exp $

DISTNAME=		GTL-1.2.4-lgpl
PKGNAME=		${DISTNAME:S/-lgpl//:tl}
CATEGORIES=		devel
MASTER_SITES=		http://www.fim.uni-passau.de/fileadmin/files/lehrstuhl/brandenburg/projekte/gtl/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.infosun.fim.uni-passau.de/GTL/
COMMENT=		C++ graph data structure library based on the STL
LICENSE=		gnu-lgpl-v3

USE_LIBTOOL=		yes
USE_LANGUAGES=		c c++

# previous version of the same
CONFLICTS=		gtl0-[0-9]*

GNU_CONFIGURE=		yes

WRKSRC=		${WRKDIR}/${DISTNAME:S/-lgpl//}

DOCDIR=		${PREFIX}/share/doc/GTL

# tests/test.gml is missing in archive
#TEST_TARGET=	runtests

post-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
	${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}/icons
	cd ${WRKSRC}/doc; \
		${INSTALL_DATA} *.html style.css ${DESTDIR}${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/icons/*.jpeg ${DESTDIR}${DOCDIR}/icons
	${INSTALL_DATA} ${WRKSRC}/doc/userguide/GTL.ps ${DESTDIR}${DOCDIR}

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