aboutsummaryrefslogtreecommitdiff
path: root/devel/gtgt/Makefile
blob: 80c00d3d15d77de05396cf637e73d3ba6dab983a (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
PORTNAME=	gtgt
PORTVERSION=	3.2.0
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	General (or GNU) template generation tools
WWW=		http://gtgt.sourceforge.net/

RUN_DEPENDS=	bash:shells/bash

LICENSE=	GPLv2+ # though COPYING has GPLv3

USES=		shebangfix
NO_BUILD=	yes
NO_ARCH=	yes

PORTDOCS=	autoconf.html automake.html \
		company-license.long company-license.short \
		gtgt.gif gtgt.html gtgt.txt \
		index.html libtool.html
SCRIPTS=	gcng gptg gscg

PLIST_FILES=	${SCRIPTS:S/^/bin\//}
SHEBANG_FILES=	${SCRIPTS:S/^/scripts\//}

OPTIONS_DEFINE=	DOCS

do-install:
.for f in ${SCRIPTS}
	${INSTALL_SCRIPT} ${WRKSRC}/scripts/${f} ${STAGEDIR}${PREFIX}/bin
.endfor

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>