summaryrefslogtreecommitdiff
path: root/devel/generate/Makefile
blob: 1c9f1c6edb21708d1c75d1e98fc3781d5773ec15 (plain)
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
# Created by: D'Arcy J.M. Cain <darcy@druid.net>
# $FreeBSD$

PORTNAME=	generate
PORTVERSION=	2.8
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	http://www.druid.net/darcy/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Simple text pre-processor

BROKEN=		unfetchable

USES=		gmake tar:tgz

MAKE_ARGS=	BINDIR=${STAGEDIR}${PREFIX}/bin \
		MANDIR=${STAGEDIR}${PREFIX}/man

PLIST_FILES=	bin/generate bin/rgenerate man/man1/generate.1.gz

post-patch:
	@${REINPLACE_CMD} -e 's,^CFLAGS *=,CFLAGS +=,' \
		${WRKSRC}/Makefile

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*

.include <bsd.port.mk>