openbsd-ports/devel/gtl/Makefile
2001-12-09 06:05:24 +00:00

50 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.9 2001/12/09 06:05:24 pvalchev 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 <pvalchev@openbsd.org>
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
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC} ${WRKSRC}/aux
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 <bsd.port.mk>