openbsd-ports/editors/nano/Makefile
2000-07-10 20:28:00 +00:00

35 lines
699 B
Makefile

# $OpenBSD: Makefile,v 1.2 2000/07/10 20:28:01 danh Exp $
DISTNAME= nano-0.9.11
CATEGORIES= editors
NEED_VERSION= 1.308
HOMEPAGE= http://www.asty.org/nano/
MAINTAINER= danh@openbsd.org
MASTER_SITES= ${HOMEPAGE}/dist/
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.1::devel/libslang
.endif
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --without-included-gettext \
--includedir='${LOCALBASE}/include'
.if ${FLAVOR:L:Mslang}
CONFIGURE_ARGS+= --with-slang='${LOCALBASE}'
.else
CFLAGS+= -DHAVE_TABSIZE
.endif
.include <bsd.port.mk>