2007-11-03 14:23:53 +01:00
|
|
|
# $NetBSD: Makefile,v 1.26 2007/11/03 13:23:53 wiz Exp $
|
2002-01-12 11:59:30 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= nvi-1.81.5
|
2007-11-03 14:23:53 +01:00
|
|
|
PKGREVISION= 5
|
2002-01-12 11:59:30 +01:00
|
|
|
CATEGORIES= editors
|
2007-06-04 16:45:47 +02:00
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
2002-01-12 11:59:30 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2007-06-04 16:45:47 +02:00
|
|
|
HOMEPAGE= http://www.kotnet.org/~skimo/nvi/devel/
|
2002-01-12 11:59:30 +01:00
|
|
|
COMMENT= Berkeley nvi with additional features
|
|
|
|
|
2007-09-06 01:05:13 +02:00
|
|
|
.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
|
2004-09-16 12:40:24 +02:00
|
|
|
# XXX ignore NetBSD 2.0F and later's granpt(2) and SysV pty for just now
|
|
|
|
CONFIGURE_ENV+= vi_cv_sys5_pty=no
|
2005-09-11 20:08:02 +02:00
|
|
|
# XXX also ignore it on Darwin (fixes Tiger build)
|
2005-12-09 17:01:55 +01:00
|
|
|
.elif ${OPSYS} == "DragonFly"
|
|
|
|
CONFIGURE_ENV+= vi_cv_include_sys_select=no
|
2005-09-11 20:08:02 +02:00
|
|
|
.elif ${OPSYS} == "Darwin"
|
|
|
|
CONFIGURE_ENV+= vi_cv_sys5_pty=no
|
2007-06-04 16:45:47 +02:00
|
|
|
LDFLAGS+= -flat_namespace
|
2004-01-11 20:43:27 +01:00
|
|
|
.endif
|
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build.unix
|
2002-01-12 11:59:30 +01:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
CONFIGURE_SCRIPT= ../dist/configure
|
2002-10-10 14:50:32 +02:00
|
|
|
CONFIGURE_ARGS+= --with-db3=${BUILDLINK_PREFIX.db3}
|
2002-02-07 13:39:12 +01:00
|
|
|
CONFIGURE_ARGS+= --program-transform-name='s,^,n,'
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= vi_cv_path_shell=${TOOLS_SH:Q}
|
2005-07-12 22:19:35 +02:00
|
|
|
USE_TOOLS+= sh
|
2002-01-12 11:59:30 +01:00
|
|
|
USE_LIBTOOL= YES
|
|
|
|
|
2004-04-12 12:53:07 +02:00
|
|
|
.include "../../databases/db3/buildlink3.mk"
|
2002-01-12 11:59:30 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|