2001-02-20 17:33:10 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2001/02/20 22:33:10 naddy Exp $
|
2000-06-24 10:31:37 -04:00
|
|
|
|
2001-02-20 17:33:10 -05:00
|
|
|
DISTNAME= nano-0.9.99pre3
|
2000-06-24 10:31:37 -04:00
|
|
|
CATEGORIES= editors
|
2000-10-05 04:06:14 -04:00
|
|
|
NEED_VERSION= 1.338
|
|
|
|
HOMEPAGE= http://www.nano-editor.org
|
2000-06-24 10:31:37 -04:00
|
|
|
|
2000-09-23 08:38:21 -04:00
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
2000-06-24 10:31:37 -04:00
|
|
|
|
2000-08-01 09:07:37 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
2000-10-05 04:06:14 -04:00
|
|
|
${HOMEPAGE}/dist/
|
2000-08-01 09:07:37 -04:00
|
|
|
MASTER_SITE_SUBDIR= nano
|
2000-06-24 10:31:37 -04:00
|
|
|
|
|
|
|
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}
|
2001-02-20 17:33:10 -05:00
|
|
|
LIB_DEPENDS+= slang.14::devel/libslang
|
2000-06-24 10:31:37 -04:00
|
|
|
.endif
|
|
|
|
|
2000-09-21 11:10:24 -04:00
|
|
|
CONFIGURE_STYLE= gnu autoconf
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2000-06-24 10:31:37 -04:00
|
|
|
.if ${FLAVOR:L:Mslang}
|
|
|
|
CONFIGURE_ARGS+= --with-slang='${LOCALBASE}'
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|