fcb7da800b
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or "automake14". Also, we don't need to call the auto* tools via ${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care to symlink the correct tool to the correct name, so we can just use aclocal, autoconf, etc.
33 lines
789 B
Makefile
33 lines
789 B
Makefile
# $NetBSD: Makefile,v 1.28 2005/06/01 20:08:00 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= latestCDK
|
|
PKGNAME= cdk-4.9.9
|
|
PKGREVISION= 2
|
|
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_NCURSES= # uses ncurses internals
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= autoconf213
|
|
|
|
BUILD_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/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|