2015-05-07 16:07:49 +02:00
|
|
|
# $NetBSD: Makefile,v 1.6 2015/05/07 14:07:49 ryoon Exp $
|
2013-07-15 03:42:47 +02:00
|
|
|
#
|
|
|
|
|
2015-05-07 16:07:49 +02:00
|
|
|
DISTNAME= libedit-20150325-3.1
|
|
|
|
PKGNAME= editline-3.1.20150325
|
2013-07-15 03:42:47 +02:00
|
|
|
CATEGORIES= devel
|
2014-07-02 15:57:18 +02:00
|
|
|
MASTER_SITES= http://thrysoee.dk/editline/
|
2013-07-15 03:42:47 +02:00
|
|
|
|
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.thrysoee.dk/editline/
|
|
|
|
COMMENT= NetBSD Editline library (libedit) for generic line editing
|
|
|
|
LICENSE= modified-bsd
|
|
|
|
|
2014-07-02 15:57:18 +02:00
|
|
|
PKGCONFIG_OVERRIDE+= libedit.pc.in
|
|
|
|
|
2013-07-15 03:42:47 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_TOOLS+= automake autoreconf
|
2014-07-02 15:57:18 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-widec
|
2013-07-15 03:42:47 +02:00
|
|
|
|
2015-03-19 20:58:28 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2013-07-15 03:42:47 +02:00
|
|
|
pre-configure:
|
2015-03-19 20:58:28 +01:00
|
|
|
.if ${OPSYS} == "SunOS" && !exists(/usr/include/err.h)
|
|
|
|
${CP} ${FILESDIR}/err.h ${BUILDLINK_DIR}/include
|
|
|
|
.endif
|
2013-10-11 16:24:29 +02:00
|
|
|
cd ${WRKSRC} && autoreconf -fiv
|
2013-07-15 03:42:47 +02:00
|
|
|
|
|
|
|
.include "../../mk/termcap.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|