2003-08-01 15:13:25 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2003/08/01 19:13:25 espie Exp $
|
2001-01-08 17:39:53 -05:00
|
|
|
|
2001-05-05 20:28:54 -04:00
|
|
|
COMMENT= "easy to use, graphical editor"
|
|
|
|
|
|
|
|
CATEGORIES= editors
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
2001-01-08 17:39:53 -05:00
|
|
|
HOMEPAGE= http://cooledit.sourceforge.net/
|
2003-08-01 15:13:25 -04:00
|
|
|
DISTNAME= cooledit-3.17.7
|
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?=
|
|
|
|
|
2002-03-23 18:37:53 -05:00
|
|
|
PYTHON_VER= 2.2
|
|
|
|
|
2001-01-08 17:39:53 -05:00
|
|
|
.if ${FLAVOR:L:Mpython}
|
2003-08-01 15:13:25 -04:00
|
|
|
LIB_DEPENDS+= python${PYTHON_VER}.0.0:python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
2002-03-23 18:37:53 -05:00
|
|
|
CFLAGS+= -pthread
|
|
|
|
CONFIGURE_ENV+= PYTHON_VER=${PYTHON_VER}
|
2001-08-09 17:05:28 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ENV+= NOPYTHON=Yes
|
2001-01-08 17:39:53 -05:00
|
|
|
.endif
|
|
|
|
|
2003-03-31 07:52:10 -05:00
|
|
|
USE_X11= Yes
|
|
|
|
|
2001-01-08 17:39:53 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ENV+= XTERM_CMD=xterm
|
2001-02-18 17:47:57 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+= --enable-static --disable-mail-author
|
2001-01-08 17:39:53 -05:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_FTP=Yes
|
|
|
|
PERMIT_DISTFILES_FTP=Yes
|
|
|
|
PERMIT_PACKAGE_CDROM=Yes
|
|
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|