2001-08-09 17:05:28 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2001/08/09 21:05:28 naddy 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-06-09 16:27:38 -04:00
|
|
|
FLAVORS= python python2
|
2001-01-08 17:39:53 -05:00
|
|
|
FLAVOR?=
|
|
|
|
|
2001-06-09 16:27:38 -04:00
|
|
|
.if ${FLAVOR:L:Mpython} && ${FLAVOR:L:Mpython2}
|
2001-08-09 17:05:28 -04:00
|
|
|
ERRORS+= "Fatal: flavors 'python' and 'python2' conflict."
|
2001-06-09 16:27:38 -04:00
|
|
|
.endif
|
2001-01-08 17:39:53 -05:00
|
|
|
.if ${FLAVOR:L:Mpython}
|
2001-06-09 16:27:38 -04:00
|
|
|
BUILD_DEPENDS+= python1.5:python-1.5.2-!threads:lang/python15,
|
|
|
|
RUN_DEPENDS+= python1.5:python-1.5.2-!threads:lang/python15,
|
|
|
|
.elif ${FLAVOR:L:Mpython2}
|
|
|
|
BUILD_DEPENDS+= python2.1:python-2.1-!threads:lang/python,
|
|
|
|
RUN_DEPENDS+= python2.1:python-2.1-!threads:lang/python,
|
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>
|