aboutsummaryrefslogtreecommitdiffstats
path: root/www/cgihtml/Makefile
blob: a4b8c67f7bc7ba920990167acb3bf03f3d68b22a (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
# New ports collection makefile for:    cgihtml
# Version required:     1.69
# Date created:     3 Nov 1997
# Whom:         Ian Vaudrey <i.vaudrey@bigfoot.com>
#
# $FreeBSD$
#

DISTNAME=   cgihtml-1.69
CATEGORIES= devel www
MASTER_SITES=   ftp://ftp.eekim.com/pub/users/eekim/cgihtml/

MAINTAINER= i.vaudrey@bigfoot.com

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

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/cgihtml/html
.for file in CHANGES CREDITS
    ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/cgihtml
.endfor
    ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${PREFIX}/share/doc/cgihtml/html
.endif
    @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.mk>