# $OpenBSD: Makefile,v 1.36 2010/11/15 23:22:07 espie Exp $ COMMENT= text editor DISTNAME= jed-0.99-19 PKGNAME= jed-0.99.19 CATEGORIES= editors MASTER_SITES= ftp://space.mit.edu/pub/davis/jed/v0.99/ \ ftp://ftp.ntua.gr/pub/lang/slang/jed/v0.99/ \ ftp://ftp.fu-berlin.de/pub/unix/editors/jed/v0.99/ HOMEPAGE= http://www.jedsoft.org/jed/ # GPLv2+ PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB += c m slang>=15 termcap util LIB_DEPENDS= devel/libslang CONFIGURE_STYLE= gnu CONFIGURE_ARGS= --with-slang=${LOCALBASE} CONFIGURE_ENV+= JED_ROOT="${PREFIX}/lib/jed" #CONFIGURE_ENV+= DEPBASE=${DEPBASE} FLAVORS= no_x11 FLAVOR?= USE_GROFF = Yes .if ${FLAVOR:L} == "no_x11" ALL_TARGET= all getmail .else ALL_TARGET= all getmail xjed WANTLIB+= X11 .endif NO_REGRESS= Yes .include