openbsd-ports/editors/cooledit/Makefile

49 lines
1.1 KiB
Makefile
Raw Normal View History

2010-10-24 16:58:58 -04:00
# $OpenBSD: Makefile,v 1.34 2010/10/24 21:16:25 ajacoutot Exp $
COMMENT= easy to use, graphical editor
CATEGORIES= editors
MASTER_SITES= ${HOMEPAGE}
HOMEPAGE= ftp://ftp.ibiblio.org/pub/Linux/apps/editors/X/cooledit/
DISTNAME= cooledit-3.17.14
2010-10-23 14:26:19 -04:00
REVISION= 5
2006-01-12 09:33:36 -05:00
SHARED_LIBS= Cw 1.0
MAINTAINER= Marc Espie <espie@openbsd.org>
FLAVORS= python
FLAVOR?=
PYTHON_VER= 2.4
WANTLIB= X11 Xau Xdmcp c pthread-stubs util xcb
USE_LIBTOOL= Yes
2002-03-23 18:37:53 -05:00
.if ${FLAVOR:L:Mpython}
2010-10-23 14:26:19 -04:00
LIB_DEPENDS+= :python->=${PYTHON_VER},<2.5:lang/python/${PYTHON_VER}
CONFIGURE_ENV+= PYTHON_VER=${PYTHON_VER} LOCALBASE=${LOCALBASE}
2010-10-23 14:26:19 -04:00
WANTLIB+= pthread m python${PYTHON_VER}
.else
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
CONFIGURE_STYLE=gnu
CONFIGURE_ENV+= XTERM_CMD=xterm LDFLAGS="-L${LOCALBASE}/lib"
# XXX temporary until we have full internationalization support
2005-05-11 15:27:34 -04:00
#CONFIGURE_ENV+= ac_cv_header_wchar_h=no
CONFIGURE_ARGS+=${CONFIGURE_SHARED}
CONFIGURE_ARGS+=--enable-static --disable-mail-author
2005-10-23 05:52:21 -04:00
# GPL
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_CDROM= Yes
.include <bsd.port.mk>