openbsd-ports/editors/jed/Makefile
2009-10-13 21:46:46 +00:00

42 lines
902 B
Makefile

# $OpenBSD: Makefile,v 1.31 2009/10/13 21:46:46 sthen Exp $
COMMENT= text editor
DISTNAME= jed-0.99-18
PKGNAME= ${DISTNAME:S/0.99-/0.99./}
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/
LIB_DEPENDS= slang.>=15::devel/libslang
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m termcap util
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-slang=${LOCALBASE}
CONFIGURE_ENV+= JED_ROOT="${PREFIX}/lib/jed"
#CONFIGURE_ENV+= DEPBASE=${DEPBASE}
FLAVORS= no_x11
FLAVOR?=
.if ${FLAVOR:L} == "no_x11"
ALL_TARGET= all getmail
.else
USE_X11= Yes
ALL_TARGET= all getmail xjed
WANTLIB+= X11 Xext Xft Xrender freetype
.endif
NO_REGRESS= Yes
.include <bsd.port.mk>