pkgsrc/devel/gtl/Makefile
obache 027f202cc3 Update gtl to 1.2.4.
add user-destdir installation support.

* support gcc>=3.4 and bug fixes.
* switch to LICENSE=gnu-lgpl-v3.
2011-04-16 11:05:49 +00:00

38 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.29 2011/04/16 11:05:49 obache 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
PKG_DESTDIR_SUPPORT= user-destdir
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"