44 lines
906 B
Makefile
44 lines
906 B
Makefile
# $OpenBSD: Makefile,v 1.40 2013/03/21 08:45:17 ajacoutot Exp $
|
|
|
|
COMMENT = easy to use, graphical editor
|
|
|
|
DISTNAME = cooledit-3.17.17
|
|
|
|
CATEGORIES = editors
|
|
|
|
HOMEPAGE = ftp://ftp.ibiblio.org/pub/Linux/apps/editors/X/cooledit/
|
|
|
|
SHARED_LIBS = Cw 1.0
|
|
|
|
MAINTAINER = Marc Espie <espie@openbsd.org>
|
|
|
|
FLAVORS = python
|
|
FLAVOR ?=
|
|
|
|
WANTLIB = X11 c util xcb
|
|
|
|
MASTER_SITES = http://fossies.org/linux/misc/
|
|
|
|
.if ${FLAVOR:Mpython}
|
|
MODULES += lang/python
|
|
LIB_DEPENDS += ${MODPY_LIB_DEPENDS}
|
|
CONFIGURE_ENV += PYTHON_VER=${MODPY_VERSION} LOCALBASE=${LOCALBASE}
|
|
WANTLIB += pthread m ${MODPY_WANTLIB}
|
|
.else
|
|
CONFIGURE_ENV +=NOPYTHON=Yes
|
|
.endif
|
|
|
|
MODULES += devel/gettext
|
|
USE_GROFF = Yes
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ENV += XTERM_CMD=xterm LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
|
|
CONFIGURE_ARGS += --enable-static --disable-mail-author
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
.include <bsd.port.mk>
|