2009-08-10 02:29:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.31 2009/08/10 06:31:08 kili Exp $
|
2001-01-08 17:39:53 -05:00
|
|
|
|
2007-09-15 20:44:00 -04:00
|
|
|
COMMENT= easy to use, graphical editor
|
2001-05-05 20:28:54 -04:00
|
|
|
|
|
|
|
CATEGORIES= editors
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
2005-05-16 16:26:51 -04:00
|
|
|
HOMEPAGE= ftp://ftp.ibiblio.org/pub/Linux/apps/editors/X/cooledit/
|
|
|
|
DISTNAME= cooledit-3.17.14
|
2009-08-10 02:29:51 -04:00
|
|
|
PKGNAME= ${DISTNAME}p5
|
2005-12-27 07:33:42 -05:00
|
|
|
|
2006-01-12 09:33:36 -05:00
|
|
|
SHARED_LIBS= Cw 1.0
|
2001-01-08 17:39:53 -05:00
|
|
|
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
|
|
|
|
2001-09-06 07:10:13 -04:00
|
|
|
FLAVORS= python
|
2001-01-08 17:39:53 -05:00
|
|
|
FLAVOR?=
|
|
|
|
|
2006-06-03 13:40:48 -04:00
|
|
|
PYTHON_VER= 2.4
|
2009-08-10 02:29:51 -04:00
|
|
|
WANTLIB= X11 Xau Xdmcp c pthread-stubs util xcb
|
2005-12-27 07:33:42 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2002-03-23 18:37:53 -05:00
|
|
|
|
2001-01-08 17:39:53 -05:00
|
|
|
.if ${FLAVOR:L:Mpython}
|
2009-03-15 09:17:35 -04:00
|
|
|
LIB_DEPENDS+= python${PYTHON_VER}:python->=${PYTHON_VER},<2.5:lang/python/${PYTHON_VER}
|
2005-05-16 16:26:51 -04:00
|
|
|
CONFIGURE_ENV+= PYTHON_VER=${PYTHON_VER} LOCALBASE=${LOCALBASE}
|
|
|
|
WANTLIB+= pthread m
|
2001-08-09 17:05:28 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ENV+= NOPYTHON=Yes
|
2001-01-08 17:39:53 -05:00
|
|
|
.endif
|
|
|
|
|
2005-05-16 16:26:51 -04:00
|
|
|
MODULES= devel/gettext
|
|
|
|
USE_X11= Yes
|
2003-03-31 07:52:10 -05:00
|
|
|
|
2005-05-16 16:26:51 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ENV+= XTERM_CMD=xterm LDFLAGS="-L${LOCALBASE}/lib"
|
2005-04-14 17:29:28 -04:00
|
|
|
|
|
|
|
# XXX temporary until we have full internationalization support
|
2005-05-11 15:27:34 -04:00
|
|
|
#CONFIGURE_ENV+= ac_cv_header_wchar_h=no
|
2005-04-14 17:29:28 -04:00
|
|
|
|
2005-05-16 16:26:51 -04:00
|
|
|
CONFIGURE_ARGS+=${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+=--enable-static --disable-mail-author
|
2001-01-08 17:39:53 -05:00
|
|
|
|
2005-10-23 05:52:21 -04:00
|
|
|
# GPL
|
2005-05-16 16:26:51 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
2005-02-13 09:18:06 -05:00
|
|
|
|
2001-01-08 17:39:53 -05:00
|
|
|
.include <bsd.port.mk>
|