blob: 4eeb645e6827ce500e3b5d7fceb522872d033186 (
plain)
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
33
34
|
# Created by: George Reid <greid@ukug.uk.freebsd.org>
# $FreeBSD$
PORTNAME= ecgi
PORTVERSION= 0.6.3
CATEGORIES= devel
MASTER_SITES= http://bsdforge.com/projects/source/devel/ecgi/
MAINTAINER= portmaster@bsdforge.com
COMMENT= Library for the creation of CGI-based Web applications
LICENSE= BSD3CLAUSE
USES= gmake tar:xz
PORTDOCS= *
HEADER_FILES= ecgi.h ecgitk.h include/memfile.h
OPTIONS_DEFINE= DOCS
pre-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' ${WRKSRC}/src/memfile.c
do-install:
${INSTALL_DATA} ${WRKSRC}/libecgi.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/libecgi.so ${STAGEDIR}${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/html2h/html2h ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/include/ecgi
.for file in ${HEADER_FILES}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/include/ecgi
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/ecgitut.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|