aboutsummaryrefslogtreecommitdiff
path: root/devel/genproto/Makefile
blob: 816cde8f251fa8159b05d0a2c8cf73d4a6a860fb (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
# ex:ts=8
# Ports collection makefile for:	genproto
# Date created:			Jun 29, 2004
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	genproto
PORTVERSION=	0.4.1
CATEGORIES=	devel
MASTER_SITES=	http://freequaos.host.sk/genproto/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Generates prototypes from C/C++ code

USE_REINPLACE=	yes

PLIST_FILES=	bin/genproto

post-patch:
	@${REINPLACE_CMD} -e "s,^CC,#CC," -e "s,^CFLAGS,#CFLAGS," \
		${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/genproto ${PREFIX}/bin

.include <bsd.port.mk>