aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gtgt/Makefile
blob: c9634ca093d584207440027da88929c65af872d5 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# ex:ts=8
# New ports collection makefile for:   gtgt
# Date created:                Feb 13, 2001
# Whom:                        Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gtgt
PORTVERSION=    3.2.0
CATEGORIES= devel
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    General (or GNU) template generation tools

RUN_DEPENDS=    bash:${PORTSDIR}/shells/bash

NO_BUILD=   yes

PORTDOCS=   autoconf.html automake.html \
        company-license.long company-license.short \
        gtgt.gif gtgt.html gtgt.txt \
        index.html libtool.html
PLIST_FILES=    ${SCRIPTS:S/^/bin\//}

SCRIPTS=    gcng gptg gscg

post-patch:
.for file in ${SCRIPTS}
    @${REINPLACE_CMD} -e \
        's|^#!.*|#!${LOCALBASE}/bin/bash|g' ${WRKSRC}/scripts/${file}
.endfor

do-install:
.for file in ${SCRIPTS}
    ${INSTALL_SCRIPT} ${WRKSRC}/scripts/${file} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>