35 lines
838 B
Makefile
35 lines
838 B
Makefile
# $NetBSD: Makefile,v 1.23 2004/01/20 12:13:28 agc Exp $
|
|
#
|
|
|
|
DISTNAME= latestCDK
|
|
PKGNAME= cdk-4.9.9
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.vexus.ca/release/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= root@garbled.net
|
|
HOMEPAGE= http://www.vexus.ca/CDK.html
|
|
COMMENT= Curses Development Kit
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
USE_BUILDLINK2= yes
|
|
USE_NCURSES= # uses ncurses internals
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
AUTOCONF_REQD= 2.13
|
|
|
|
ALL_TARGET= default
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC}; ${AUTOCONF}
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cdk
|
|
for file in ${WRKSRC}/examples/*.c ${WRKSRC}/examples/Makefile; do \
|
|
${INSTALL_DATA} $${file} ${PREFIX}/share/examples/cdk/; \
|
|
done
|
|
|
|
.include "../../devel/ncurses/buildlink2.mk"
|
|
.include "../../mk/autoconf.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|