summaryrefslogtreecommitdiff
path: root/www/cgic/Makefile
blob: 5cb61e2914c2e3bd311738f497f73bf4cc403c81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:	libcgic
# Date created:				27 July 1999
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=	cgic
PORTVERSION=	1.07
CATEGORIES=	www
MASTER_SITES=	http://www.boutell.com/cgic/
DISTNAME=	${PORTNAME}${PORTVERSION:S/.//}

MAINTAINER=	ports@FreeBSD.org

PORTCOMMENT=	ANSI C library for CGI programming

WRKSRC=		${WRKDIR}/${PORTNAME}
MAKEFILE=	${FILESDIR}/Makefile.lib
INSTALLS_SHLIB=	yes

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/examples/cgic
	${INSTALL_DATA} ${WRKSRC}/capture.c ${PREFIX}/share/examples/cgic
	${INSTALL_DATA} ${WRKSRC}/cgictest.c ${PREFIX}/share/examples/cgic
	@${MKDIR} ${PREFIX}/share/doc/cgic
	${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/share/doc/cgic
	${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/cgic
.endif

.include <bsd.port.mk>