mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
7147035ad6
An ANSI C library for CGI programming. PR: 12835 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
37 lines
987 B
Makefile
37 lines
987 B
Makefile
# New ports collection makefile for: libcgic
|
|
# Version required: 1.06
|
|
# Date created: 27 July 1999
|
|
# Whom: Andrey Zakhvatov
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= cgic106
|
|
PKGNAME= cgic-1.06
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.boutell.com/cgic/
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= andy@icc.surw.chel.su
|
|
|
|
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
|
|
@ ${LDCONFIG} -m ${PREFIX}/lib
|
|
@ ${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>
|