blob: c0b6be342612cbb2db17f337e0f1a14e3fef34c1 (
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
|
# Created by: David O'Brien (obrien@NUXI.com)
# $FreeBSD$
PORTNAME= cdecl
PORTVERSION= 2.5
CATEGORIES= devel
MASTER_SITES= SUNSITE/devel/lang/c
MAINTAINER= ports@FreeBSD.org
COMMENT= Explains complicated C/C++ declarations in plain English
CONFLICTS= cutils-[0-9]*
USES= readline
USE_CSTD= c89
ALL_TARGET= ${PORTNAME}
MAKE_ENV+= STAGEDIR=$(STAGEDIR)
PLIST_FILES= bin/cdecl bin/c++decl man/man1/cdecl.1.gz man/man1/c++decl.1.gz
PORTDOCS= testset testset++
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e "s/getline/get_line/g" ${WRKSRC}/cdecl.c
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/testset* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|