ba9d5cb9fd
C99. Fixed PKGMANDIR.
28 lines
822 B
Makefile
28 lines
822 B
Makefile
# $NetBSD: Makefile,v 1.24 2007/03/09 15:38:32 rillig Exp $
|
|
#
|
|
|
|
DISTNAME= cdecl-2.5
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.netsw.org/softeng/lang/c/tools/cdecl/ \
|
|
ftp://ftp-linux.cc.gatech.edu/pub/linux/devel/lang/c/ \
|
|
ftp://ftp.deva.net/pub/sources/programming/declaration/ \
|
|
ftp://ftp.bitcon.no//pub/linux/linuxberg/files/console/dev/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Utility to explain and compose C and C++ declarations
|
|
|
|
BUILD_TARGET= cdecl
|
|
# missing rl_completion_matches
|
|
USE_GNU_READLINE= yes
|
|
USE_TOOLS+= lex yacc
|
|
INSTALL_MAKE_FLAGS= MANDIR=${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
EGDIR= ${PREFIX}/share/examples/cdecl
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/testset* ${EGDIR}
|
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|