openbsd-ports/editors/cooledit/Makefile

48 lines
1000 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.38 2011/12/20 11:14:40 sthen Exp $
2010-11-15 18:22:07 -05:00
COMMENT = easy to use, graphical editor
DISTNAME = cooledit-3.17.17
2010-11-15 18:22:07 -05:00
CATEGORIES = editors
HOMEPAGE = ftp://ftp.ibiblio.org/pub/Linux/apps/editors/X/cooledit/
2010-11-15 18:22:07 -05:00
SHARED_LIBS = Cw 1.0
2010-11-15 18:22:07 -05:00
MAINTAINER = Marc Espie <espie@openbsd.org>
2010-11-15 18:22:07 -05:00
FLAVORS = python
FLAVOR ?=
WANTLIB = X11 c util xcb
2010-11-15 18:22:07 -05:00
USE_LIBTOOL = Yes
2002-03-23 18:37:53 -05:00
MASTER_SITES = http://fossies.org/linux/misc/
2011-12-02 09:36:13 -05:00
.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
2010-11-15 18:22:07 -05:00
CONFIGURE_ENV +=NOPYTHON=Yes
.endif
MODULES += devel/gettext
2010-10-18 14:00:15 -04:00
USE_GROFF = Yes
2003-03-31 07:52:10 -05:00
2010-11-15 18:22:07 -05:00
CONFIGURE_STYLE = gnu
CONFIGURE_ENV += XTERM_CMD=xterm LDFLAGS="-L${LOCALBASE}/lib"
2010-11-15 18:22:07 -05:00
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
CONFIGURE_ARGS += --enable-static --disable-mail-author
# GPLv2+
2010-11-15 18:22:07 -05:00
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_DISTFILES_CDROM =Yes
.include <bsd.port.mk>