openbsd-ports/editors/nano/Makefile
naddy 39c93433bf Update to 0.9.25.
Includes one new feature that Pico has had forever, a built-in file
browser.  Other changes include slightly different keypad handling,
and a bugfix for crashes when tab completing in certain instances.
2001-01-08 23:05:08 +00:00

35 lines
758 B
Makefile

# $OpenBSD: Makefile,v 1.14 2001/01/08 23:05:08 naddy Exp $
DISTNAME= nano-0.9.25
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>