2003-04-21 15:57:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.32 2003/04/21 19:57:51 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
|
|
|
|
2003-04-21 15:57:51 -04:00
|
|
|
DISTNAME= nano-1.2.1
|
2000-06-24 10:31:37 -04:00
|
|
|
CATEGORIES= editors
|
2001-10-30 08:03:40 -05: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
|
|
|
|
2003-02-20 08:26:29 -05:00
|
|
|
MASTER_SITES= ftp://ftp.nano-editor.org/pub/nano/v1.2/ \
|
|
|
|
${MASTER_SITE_GNU:=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?=
|
|
|
|
|
2001-10-24 22:11:10 -04:00
|
|
|
MODULES= gettext
|
2000-06-24 10:31:37 -04:00
|
|
|
|
2001-12-18 13:53:43 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
2001-03-24 14:52:29 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
|
|
|
|
LDFLAGS='-L${LOCALBASE}/lib'
|
2003-02-20 13:21:33 -05:00
|
|
|
CONFIGURE_ARGS= --enable-all
|
2000-06-24 10:31:37 -04:00
|
|
|
.if ${FLAVOR:L:Mslang}
|
2001-10-24 22:11:10 -04:00
|
|
|
LIB_DEPENDS+= slang.14::devel/libslang
|
2000-06-24 10:31:37 -04:00
|
|
|
CONFIGURE_ARGS+= --with-slang='${LOCALBASE}'
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|