2002-03-23 18:37:53 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2002/03/23 23:37:53 matt 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/
|
|
|
|
DISTNAME= cooledit-3.17.2
|
2001-05-05 20:28:54 -04:00
|
|
|
NEED_VERSION= 1.402
|
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}
|
2002-03-23 18:37:53 -05:00
|
|
|
BUILD_DEPENDS+= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
|
|
|
RUN_DEPENDS+= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
|
|
|
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
|
|
|
|
|
|
|
|
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>
|