summaryrefslogtreecommitdiff
path: root/editors/vile
diff options
context:
space:
mode:
authoragc <agc>2000-01-01 05:03:59 +0000
committeragc <agc>2000-01-01 05:03:59 +0000
commitd4c619f29d679e7c689f302b034c60fd62b56af4 (patch)
tree979c7ca9234b4d958cd462be7b3574c530dd9df2 /editors/vile
parent7edb6db4a76e524820c4f6ef5627a26930ec7975 (diff)
downloadpkgsrc-d4c619f29d679e7c689f302b034c60fd62b56af4.tar.gz
Only use an ncurses dependency if the Operating System is NetBSD.
Diffstat (limited to 'editors/vile')
-rw-r--r--editors/vile/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/editors/vile/Makefile b/editors/vile/Makefile
index d4a0a6be0d6..f07d0d4b7cf 100644
--- a/editors/vile/Makefile
+++ b/editors/vile/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 1999/12/26 17:57:50 tron Exp $
+# $NetBSD: Makefile,v 1.17 2000/01/01 05:03:59 agc Exp $
# FreeBSD Id: Makefile,v 1.13 1997/09/06 19:55:09 gj Exp
DISTNAME= vile-9.0
@@ -10,18 +10,22 @@ EXTRACT_SUFX= .tgz
MAINTAINER= packages@netbsd.org
-DEPENDS+= ncurses-4.2:../../devel/ncurses
-
MAKEFILE= makefile
GNU_CONFIGURE= yes
-CFLAGS+= -DHAVE_NCURSES_H
CONFIGURE_ARGS+= --with-perl \
- --with-libdir-path=${PREFIX}/libexec \
- --with-screen=ncurses
+ --with-libdir-path=${PREFIX}/libexec
USE_PERL5= yes
INSTALL_TARGET= install install-perl
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+DEPENDS+= ncurses-4.2:../../devel/ncurses
+CFLAGS+= -DHAVE_NCURSES_H
+CONFIGURE_ARGS+= --with-screen=ncurses
+.endif
+
post-install:
-@${MKDIR} -p ${PREFIX}/share/examples/vile
@for f in filters/spell.rc filters/filters.rc \