summaryrefslogtreecommitdiffstats
path: root/devel/cdecl/Makefile
blob: 939b67c6981d3cd0bd4f824490c54cb912d98237 (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
30
31
# Created by: David O'Brien (obrien@NUXI.com)
# $FreeBSD$

PORTNAME=	cdecl
PORTVERSION=	2.5
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	devel/lang/c

MAINTAINER=	eadler@FreeBSD.org
COMMENT=	Explains complicated C/C++ declarations in plain English

USE_CSTD=	c89

USES=		readline
ALL_TARGET=	${PORTNAME}
PORTDOCS=	testset testset++
PLIST_FILES=	bin/cdecl bin/c++decl man/man1/cdecl.1.gz man/man1/c++decl.1.gz
MAKE_ENV+=	STAGEDIR=$(STAGEDIR)

CONFLICTS=	cutils-[0-9]*

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/testset* ${STAGEDIR}${DOCSDIR}
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud