openbsd-ports/editors/nano/Makefile
naddy 9df102a4c3 Fix libslang dependency and update to 0.9.99pre3:
- too many bugfixes to list
- add Hungarian and Catalan translations
- add info documentation
2001-02-20 22:33:10 +00:00

35 lines
760 B
Makefile

# $OpenBSD: Makefile,v 1.15 2001/02/20 22:33:10 naddy Exp $
DISTNAME= nano-0.9.99pre3
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::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>