2001-08-25 11:48:40 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2001/08/25 15:48:40 naddy Exp $
|
2000-06-24 10:31:37 -04:00
|
|
|
|
2001-03-24 14:52:29 -05:00
|
|
|
COMMENT= "small, easy to use editor"
|
2001-04-06 21:30:01 -04:00
|
|
|
|
2001-08-25 11:48:40 -04:00
|
|
|
DISTNAME= nano-1.0.4
|
2000-06-24 10:31:37 -04:00
|
|
|
CATEGORIES= editors
|
2001-03-24 14:52:29 -05:00
|
|
|
NEED_VERSION= 1.363
|
2000-10-05 04:06:14 -04:00
|
|
|
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} \
|
2001-03-24 14:52:29 -05:00
|
|
|
${MASTER_SITE_GNU} \
|
|
|
|
ftp://ftp.nano-editor.org/pub/nano/
|
2000-08-01 09:07:37 -04:00
|
|
|
MASTER_SITE_SUBDIR= nano
|
2000-06-24 10:31:37 -04:00
|
|
|
|
2001-05-13 12:45:02 -04:00
|
|
|
# GPL
|
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
|
|
|
|
|
2001-03-24 14:52:29 -05:00
|
|
|
CONFIGURE_STYLE= 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>
|