1999-12-29 10:25:49 +01:00
|
|
|
# New ports collection makefile for: libcgic
|
|
|
|
# Date created: 27 July 1999
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-10 02:07:29 +02:00
|
|
|
PORTNAME= cgic
|
2003-05-19 01:24:46 +02:00
|
|
|
PORTVERSION= 2.02
|
1999-12-29 10:25:49 +01:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://www.boutell.com/cgic/
|
2001-03-31 18:23:38 +02:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
|
1999-12-29 10:25:49 +01:00
|
|
|
|
2000-03-29 09:19:16 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= ANSI C library for CGI programming
|
1999-12-29 10:25:49 +01:00
|
|
|
|
2003-01-03 20:11:29 +01:00
|
|
|
MAKE_ENV= SHLIB_MAJOR="${SHLIB_MAJOR}"
|
2001-03-31 18:23:38 +02:00
|
|
|
MAKEFILE= ${FILESDIR}/Makefile.lib
|
2003-01-03 20:11:29 +01:00
|
|
|
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-06-15 19:12:51 +02:00
|
|
|
|
2003-01-03 20:11:29 +01:00
|
|
|
SHLIB_MAJOR= ${PORTVERSION:R}
|
|
|
|
|
1999-12-29 10:25:49 +01:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2003-01-03 20:11:29 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/capture.c ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cgictest.c ${EXAMPLESDIR}
|
1999-12-29 10:25:49 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|