Import devel/gtgt version 3.2.0
[dports.git] / devel / gtgt / Makefile
1 # ex:ts=8
2 # New ports collection makefile for:   gtgt
3 # Date created:                Feb 13, 2001
4 # Whom:                        Ying-Chieh Liao <ijliao@FreeBSD.org>
5 #
6 # $FreeBSD: ports/devel/gtgt/Makefile,v 1.15 2012/11/17 05:55:46 svnexp Exp $
7 #
8
9 PORTNAME=       gtgt
10 PORTVERSION=    3.2.0
11 CATEGORIES=     devel
12 MASTER_SITES=   SF
13
14 MAINTAINER=     ports@FreeBSD.org
15 COMMENT=        General (or GNU) template generation tools
16
17 RUN_DEPENDS=    bash:${PORTSDIR}/shells/bash
18
19 NO_BUILD=       yes
20
21 PORTDOCS=       autoconf.html automake.html \
22                 company-license.long company-license.short \
23                 gtgt.gif gtgt.html gtgt.txt \
24                 index.html libtool.html
25 PLIST_FILES=    ${SCRIPTS:S/^/bin\//}
26
27 SCRIPTS=        gcng gptg gscg
28
29 post-patch:
30 .for file in ${SCRIPTS}
31         @${REINPLACE_CMD} -e \
32                 's|^#!.*|#!${LOCALBASE}/bin/bash|g' ${WRKSRC}/scripts/${file}
33 .endfor
34
35 do-install:
36 .for file in ${SCRIPTS}
37         ${INSTALL_SCRIPT} ${WRKSRC}/scripts/${file} ${PREFIX}/bin
38 .endfor
39 .if !defined(NOPORTDOCS)
40         @${MKDIR} ${DOCSDIR}
41 .for file in ${PORTDOCS}
42         ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
43 .endfor
44 .endif
45
46 .include <bsd.port.mk>