openbsd-ports/editors/cooledit/Makefile

50 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.22 2005/12/27 12:33:42 aanriot Exp $
COMMENT= "easy to use, graphical editor"
CATEGORIES= editors
MASTER_SITES= ${HOMEPAGE}
HOMEPAGE= ftp://ftp.ibiblio.org/pub/Linux/apps/editors/X/cooledit/
DISTNAME= cooledit-3.17.14
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= Cw 1.0
MODGNU_SHARED_LIBS= Cw ''
MAINTAINER= Marc Espie <espie@openbsd.org>
FLAVORS= python
FLAVOR?=
PYTHON_VER= 2.3
WANTLIB= X11 c util
USE_LIBTOOL= Yes
2002-03-23 18:37: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}
CONFIGURE_ENV+= PYTHON_VER=${PYTHON_VER} LOCALBASE=${LOCALBASE}
WANTLIB+= pthread m
.else
CONFIGURE_ENV+= NOPYTHON=Yes
.endif
MODULES= devel/gettext
USE_X11= Yes
2003-03-31 07:52:10 -05:00
CONFIGURE_STYLE=gnu
CONFIGURE_ENV+= XTERM_CMD=xterm LDFLAGS="-L${LOCALBASE}/lib"
# XXX temporary until we have full internationalization support
2005-05-11 15:27:34 -04:00
#CONFIGURE_ENV+= ac_cv_header_wchar_h=no
CONFIGURE_ARGS+=${CONFIGURE_SHARED}
CONFIGURE_ARGS+=--enable-static --disable-mail-author
2005-10-23 05:52:21 -04:00
# GPL
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_CDROM= Yes
.include <bsd.port.mk>