# $OpenBSD: Makefile,v 1.8 2001/11/01 08:27:14 wilfried Exp $ COMMENT= "c++ graph data template library based on the stl" PKGNAME= ${DISTNAME:L} DISTNAME= GTL-1.0.0 CATEGORIES= devel NEED_VERSION= 1.475 MAINTAINER= Peter Valchev PERMIT_PACKAGE_CDROM= "use requires written permission" PERMIT_PACKAGE_FTP= "use requires written permission" PERMIT_DISTFILES_CDROM= "use requires written permission" PERMIT_DISTFILES_FTP= "use requires written permission" HOMEPAGE= http://infosun.fmi.uni-passau.de/GTL/ MASTER_SITES= #see_do-fetch_target PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltconfig \ ${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltmain_sh \ patch-* CONFIGURE_STYLE= gnu CONFIGURE_ARGS= ${CONFIGURE_SHARED} --enable-static do-fetch: @if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \ echo "" ; \ echo " The source of this port cannot be automatically fetched" ; \ echo " due to licensing restrictions. You MUST visit :" ; \ echo " ${HOMEPAGE}#down" ; \ echo " and follow the instructions - you will have to send e-mail" ; \ echo " with your personal information in order to be accepted." ; \ echo "" ; \ echo " Once ${DISTFILES} has been downloaded, move it to ${DISTDIR}" ; \ echo " and then go back and restart this build." ; \ echo "" ; \ exit 1 ; \ fi post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gtl ${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${PREFIX}/share/doc/gtl ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gtl .include