aboutsummaryrefslogtreecommitdiff
path: root/devel/cdecl/Makefile
blob: 23215f9f88b32e9cde485d97c59471af87b748c3 (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
# 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

USE_GCC=	any
ALL_TARGET=	${PORTNAME}
MAN1=		cdecl.1
MLINKS=		cdecl.1 c++decl.1
PORTDOCS=	testset testset++
PLIST_FILES=	bin/cdecl bin/c++decl

MAKE_JOBS_SAFE=	yes

CONFLICTS=	cutils-[0-9]*

.include <bsd.port.options.mk>

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

.include <bsd.port.mk>