aboutsummaryrefslogtreecommitdiffstats
path: root/www/cgihtml/Makefile
blob: 4a8604ef7e13e2167f10110f894c6ec3ff91f910 (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
# Created by: Ian Vaudrey <i.vaudrey@bigfoot.com>
# $FreeBSD$

PORTNAME=   cgihtml
PORTVERSION=    1.69
PORTREVISION=   3
CATEGORIES= www devel
MASTER_SITES=   http://www.eekim.com/software/cgihtml/ \
        ftp://www.eekim.com/pub/users/eekim/cgihtml/ \
        ftp://hcs.harvard.edu/pub/web/tools/cgihtml/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Library that simplifies the task of writing CGI programs in C

USE_LDCONFIG=   yes

OPTIONS_DEFINE= DOCS

post-extract:
    ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.dist
    ${CP} ${FILESDIR}/Makefile ${WRKSRC}

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcgihtml.so
    @${MKDIR} ${STAGEDIR}${DOCSDIR}/html
.for file in CHANGES CREDITS
    ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
    ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${STAGEDIR}${DOCSDIR}/html

.include <bsd.port.mk>