# New ports collection makefile for:   ecgi
# Date created:        13 February 2001
# Whom:                George Reid <greid@ukug.uk.freebsd.org>
#
# $FreeBSD: ports/devel/ecgi/Makefile,v 1.1 2001/03/12 22:08:31 will Exp $
#

PORTNAME=       ecgi
PORTVERSION=	0.6.2
CATEGORIES=     devel
MASTER_SITES=   http://www.global-owl.com/ecgi/download/

MAINTAINER=	ports@freebsd.org

USE_GMAKE=	yes

INSTALLS_SHLIB=	yes

do-install:
	${INSTALL_DATA} ${WRKSRC}/libecgi.a ${PREFIX}/lib
	${INSTALL_PROGRAM} ${WRKSRC}/libecgi.so ${PREFIX}/lib
	${INSTALL_PROGRAM} ${WRKSRC}/html2h/html2h ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/ecgi
	${INSTALL_DATA} ${WRKSRC}/doc/ecgitut.txt ${PREFIX}/share/doc/ecgi
.endif

.include <bsd.port.mk>
