naddy 4bdbf52ffa Update.
"Nano 0.9.24 is released.  This versions contains the last of the
security fixes for writing files, as well as for a nasty segfault
when nano is unable to open a file for reading, among other fixes.
Nano also now cowardly refuses to open device files, to stop silly
things like trying to open /dev/zero.  New features include being
able to use Meta-Meta-<key> as Control-<key>, and some new flags
have been added for Pico compatibility."
2000-12-20 21:00:26 +00:00

35 lines
758 B
Makefile

# $OpenBSD: Makefile,v 1.13 2000/12/20 21:00:26 naddy Exp $
DISTNAME= nano-0.9.24
CATEGORIES= editors
NEED_VERSION= 1.338
HOMEPAGE= http://www.nano-editor.org
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
${HOMEPAGE}/dist/
MASTER_SITE_SUBDIR= nano
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FLAVORS= slang
FLAVOR?=
LIB_DEPENDS= intl.1::devel/gettext
.if ${FLAVOR:L:Mslang}
LIB_DEPENDS+= slang.14.2::devel/libslang
.endif
CONFIGURE_STYLE= gnu autoconf
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.if ${FLAVOR:L:Mslang}
CONFIGURE_ARGS+= --with-slang='${LOCALBASE}'
.endif
.include <bsd.port.mk>