34 lines
721 B
Makefile
34 lines
721 B
Makefile
# $OpenBSD: Makefile,v 1.29 2002/12/29 19:43:49 fgsch Exp $
|
|
|
|
COMMENT= "small, easy to use editor"
|
|
|
|
DISTNAME= nano-1.0.9
|
|
CATEGORIES= editors
|
|
HOMEPAGE= http://www.nano-editor.org/
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=nano/} \
|
|
ftp://ftp.nano-editor.org/pub/nano/v1.0/
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
FLAVORS= slang
|
|
FLAVOR?=
|
|
|
|
MODULES= gettext
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
|
|
LDFLAGS='-L${LOCALBASE}/lib'
|
|
.if ${FLAVOR:L:Mslang}
|
|
LIB_DEPENDS+= slang.14::devel/libslang
|
|
CONFIGURE_ARGS+= --with-slang='${LOCALBASE}'
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|