1999-12-29 09:25:49 +00:00
|
|
|
# New ports collection makefile for: libcgic
|
|
|
|
# Date created: 27 July 1999
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-10 00:07:29 +00:00
|
|
|
PORTNAME= cgic
|
|
|
|
PORTVERSION= 1.06
|
1999-12-29 09:25:49 +00:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://www.boutell.com/cgic/
|
2000-04-10 00:07:29 +00:00
|
|
|
DISTNAME= ${PORTNAME}106
|
1999-12-29 09:25:49 +00:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
2000-03-29 07:19:16 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1999-12-29 09:25:49 +00:00
|
|
|
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-06-15 17:12:51 +00:00
|
|
|
|
1999-12-29 09:25:49 +00:00
|
|
|
ALL_TARGET= libcgic.so.1
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/cgic.h ${PREFIX}/include
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/libcgic.so.1 ${PREFIX}/lib
|
|
|
|
@ ${LN} -s ${PREFIX}/lib/libcgic.so.1 ${PREFIX}/lib/libcgic.so
|
|
|
|
@ ${MKDIR} ${PREFIX}/share/examples/cgic
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/capture.c ${PREFIX}/share/examples/cgic
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/cgictest.c ${PREFIX}/share/examples/cgic
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@ ${MKDIR} ${PREFIX}/share/doc/cgic
|
|
|
|
.for file in cgic.html cgic.txt license.txt readme.txt support.txt testform.html
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/cgic
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|