freebsd-ports/www/cgihtml/Makefile

31 lines
815 B
Makefile

# Created by: Ian Vaudrey <i.vaudrey@bigfoot.com>
# $FreeBSD$
PORTNAME= cgihtml
PORTVERSION= 1.69
PORTREVISION= 2
CATEGORIES= www devel
MASTER_SITES= http://www.eekim.com/software/cgihtml/ \
ftp://www.eekim.com/pub/users/eekim/cgihtml/ \
ftp://hcs.harvard.edu/pub/web/tools/cgihtml/
MAINTAINER= ports@FreeBSD.org
COMMENT= Library that simplifies the task of writing CGI programs in C
USE_LDCONFIG= yes
NO_STAGE= yes
post-extract:
@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.dist
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/cgihtml/html
.for file in CHANGES CREDITS
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/cgihtml
.endfor
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${PREFIX}/share/doc/cgihtml/html
.endif
.include <bsd.port.mk>