Also fix build problems - there is a <sys/queue.h> header file bundled with vigor which will take precedence over the system header, but lacks some necessary definitions for NetBSD (at least). Remove the header accordingly.
38 lines
922 B
Makefile
38 lines
922 B
Makefile
# $NetBSD: Makefile,v 1.9 2003/01/29 16:23:13 agc Exp $
|
|
#
|
|
|
|
DISTNAME= vigor-0.016
|
|
CATEGORIES= editors
|
|
MASTER_SITES= http://www.red-bean.com:8080/
|
|
|
|
MAINTAINER= hubertf@netbsd.org
|
|
HOMEPAGE= http://www.red-bean.com/~joelh/vigor/
|
|
COMMENT= nvi with excessive online "help"
|
|
|
|
CONFLICTS+= nvi-[0-9]*
|
|
|
|
USE_X11= yes
|
|
USE_BUILDLINK2= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+=--with-x
|
|
# --enable-perlinterp \
|
|
# --disable-curses \
|
|
# --disable-db \
|
|
# --disable-re
|
|
CONFIGURE_ENV+= ADDCPPFLAGS=" -I${LOCALBASE}/include \
|
|
-I${LOCALBASE}/include" \
|
|
ADDLDFLAGS=" -L${LOCALBASE}/lib"
|
|
|
|
.if exists(/usr/include/sys/queue.h)
|
|
# this file obscures the system header
|
|
post-patch:
|
|
${RM} -f ${WRKSRC}/../include/sys/queue.h
|
|
.endif
|
|
|
|
post-build:
|
|
nroff -mandoc ${WRKSRC}/../docs/USD.doc/vi.man/vi.1 >${WRKSRC}/../docs/USD.doc/vi.man/vi.0
|
|
|
|
.include "../../x11/tk/buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|