openbsd-ports/editors/nano/Makefile

35 lines
736 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.4 2000/08/04 15:06:00 naddy Exp $
DISTNAME= nano-0.9.15
CATEGORIES= editors
NEED_VERSION= 1.319
HOMEPAGE= http://www.asty.org/nano/
MAINTAINER= naddy@openbsd.org
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.asty.org/pub/nano/
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.1::devel/libslang
.endif
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --without-included-gettext \
--includedir='${LOCALBASE}/include'
.if ${FLAVOR:L:Mslang}
CONFIGURE_ARGS+= --with-slang='${LOCALBASE}'
.endif
.include <bsd.port.mk>