2013-07-15 04:02:17 +02:00
|
|
|
# $NetBSD: Makefile,v 1.29 2013/07/15 02:02:20 ryoon Exp $
|
1999-11-11 13:53:16 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= cdecl-2.5
|
2009-05-20 02:58:05 +02:00
|
|
|
PKGREVISION= 2
|
1999-11-11 13:53:16 +01:00
|
|
|
CATEGORIES= devel
|
2001-07-10 00:25:24 +02:00
|
|
|
MASTER_SITES= ftp://ftp.netsw.org/softeng/lang/c/tools/cdecl/ \
|
2007-11-12 00:46:57 +01:00
|
|
|
ftp://ftp-linux.cc.gatech.edu/pub/linux/devel/lang/c/
|
1999-11-11 13:53:16 +01:00
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Utility to explain and compose C and C++ declarations
|
1999-11-11 13:53:16 +01:00
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= cdecl
|
2006-06-09 17:50:03 +02:00
|
|
|
USE_TOOLS+= lex yacc
|
2008-06-20 03:09:05 +02:00
|
|
|
INSTALL_MAKE_FLAGS= PREFIX=${DESTDIR}${PREFIX} \
|
|
|
|
MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
2001-05-22 07:48:14 +02:00
|
|
|
|
2001-06-21 04:07:08 +02:00
|
|
|
EGDIR= ${PREFIX}/share/examples/cdecl
|
2008-06-20 03:09:05 +02:00
|
|
|
INSTALLATION_DIRS= bin ${EGDIR} ${PKGMANDIR}/man1
|
1999-11-11 13:53:16 +01:00
|
|
|
|
|
|
|
post-install:
|
2008-06-20 03:09:05 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/testset* ${DESTDIR}${EGDIR}
|
1999-11-11 13:53:16 +01:00
|
|
|
|
2013-07-15 04:02:17 +02:00
|
|
|
# missing rl_completion_matches
|
2004-04-25 07:32:01 +02:00
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
1999-11-11 13:53:16 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|