pkgsrc/editors/nvi/Makefile

43 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.26 2007/11/03 13:23:53 wiz Exp $
#
DISTNAME= nvi-1.81.5
PKGREVISION= 5
CATEGORIES= editors
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.kotnet.org/~skimo/nvi/devel/
COMMENT= Berkeley nvi with additional features
.include "options.mk"
2004-01-11 20:43:27 +01:00
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
. if !empty(OS_VERSION:M[2-9].*) || !empty(OS_VERSION:M1.6[A-Z]*)
CONFIGURE_ENV+= vi_cv_include_sys_select=no
. endif
# XXX ignore NetBSD 2.0F and later's granpt(2) and SysV pty for just now
CONFIGURE_ENV+= vi_cv_sys5_pty=no
# XXX also ignore it on Darwin (fixes Tiger build)
.elif ${OPSYS} == "DragonFly"
CONFIGURE_ENV+= vi_cv_include_sys_select=no
.elif ${OPSYS} == "Darwin"
CONFIGURE_ENV+= vi_cv_sys5_pty=no
LDFLAGS+= -flat_namespace
2004-01-11 20:43:27 +01:00
.endif
WRKSRC= ${WRKDIR}/${DISTNAME}/build.unix
GNU_CONFIGURE= YES
CONFIGURE_SCRIPT= ../dist/configure
2002-10-10 14:50:32 +02:00
CONFIGURE_ARGS+= --with-db3=${BUILDLINK_PREFIX.db3}
CONFIGURE_ARGS+= --program-transform-name='s,^,n,'
CONFIGURE_ENV+= vi_cv_path_shell=${TOOLS_SH:Q}
USE_TOOLS+= sh
USE_LIBTOOL= YES
2004-04-12 12:53:07 +02:00
.include "../../databases/db3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"