39 lines
848 B
Makefile
39 lines
848 B
Makefile
# $OpenBSD: Makefile,v 1.13 2003/03/31 12:52:10 sturm Exp $
|
|
|
|
COMMENT= "easy to use, graphical editor"
|
|
|
|
CATEGORIES= editors
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
HOMEPAGE= http://cooledit.sourceforge.net/
|
|
DISTNAME= cooledit-3.17.2
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
|
|
|
FLAVORS= python
|
|
FLAVOR?=
|
|
|
|
PYTHON_VER= 2.2
|
|
|
|
.if ${FLAVOR:L:Mpython}
|
|
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}
|
|
.else
|
|
CONFIGURE_ENV+= NOPYTHON=Yes
|
|
.endif
|
|
|
|
USE_X11= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV+= XTERM_CMD=xterm
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ARGS+= --enable-static --disable-mail-author
|
|
|
|
PERMIT_PACKAGE_FTP=Yes
|
|
PERMIT_DISTFILES_FTP=Yes
|
|
PERMIT_PACKAGE_CDROM=Yes
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
|
|
.include <bsd.port.mk>
|