summaryrefslogtreecommitdiff
path: root/devel/cdecl/Makefile
blob: 8760e83bea7d8705521e94f302571699651be754 (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
# 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=	ports@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]*

post-install:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/testset* ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>