2000-08-04 11:06:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2000/08/04 15:06:00 naddy Exp $
|
2000-06-24 10:31:37 -04:00
|
|
|
|
2000-08-04 11:06:00 -04:00
|
|
|
DISTNAME= nano-0.9.15
|
2000-06-24 10:31:37 -04:00
|
|
|
CATEGORIES= editors
|
2000-08-01 09:07:37 -04:00
|
|
|
NEED_VERSION= 1.319
|
2000-06-24 10:31:37 -04:00
|
|
|
HOMEPAGE= http://www.asty.org/nano/
|
|
|
|
|
2000-08-01 09:07:37 -04:00
|
|
|
MAINTAINER= naddy@openbsd.org
|
2000-06-24 10:31:37 -04:00
|
|
|
|
2000-08-01 09:07:37 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
ftp://ftp.asty.org/pub/nano/
|
|
|
|
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}
|
|
|
|
LIB_DEPENDS+= slang.14.1::devel/libslang
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --without-included-gettext \
|
|
|
|
--includedir='${LOCALBASE}/include'
|
|
|
|
.if ${FLAVOR:L:Mslang}
|
|
|
|
CONFIGURE_ARGS+= --with-slang='${LOCALBASE}'
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|