openbsd-ports/editors/nano/Makefile

36 lines
759 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.27 2002/04/16 22:37:30 naddy Exp $
COMMENT= "small, easy to use editor"
DISTNAME= nano-1.0.9
CATEGORIES= editors
2001-10-24 22:11:10 -04:00
NEED_VERSION= 1.474
HOMEPAGE= http://www.nano-editor.org/
2000-09-23 08:38:21 -04:00
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
MASTER_SITES= ${MASTER_SITE_GNU} \
2001-11-06 20:02:36 -05:00
ftp://ftp.nano-editor.org/pub/nano/v1.0/
MASTER_SITE_SUBDIR= nano
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FLAVORS= slang
FLAVOR?=
2001-10-24 22:11:10 -04:00
MODULES= gettext
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
LDFLAGS='-L${LOCALBASE}/lib'
.if ${FLAVOR:L:Mslang}
2001-10-24 22:11:10 -04:00
LIB_DEPENDS+= slang.14::devel/libslang
CONFIGURE_ARGS+= --with-slang='${LOCALBASE}'
.endif
.include <bsd.port.mk>