-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
48 lines (35 loc) · 1.07 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# $OpenBSD: Makefile,v 1.25 2006/09/18 11:50:39 espie 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}p1
SHARED_LIBS= Cw 1.0
MAINTAINER= Marc Espie <[email protected]>
FLAVORS= python
FLAVOR?=
PYTHON_VER= 2.4
WANTLIB= X11 c util
USE_LIBTOOL= Yes
.if ${FLAVOR:L:Mpython}
LIB_DEPENDS+= python${PYTHON_VER}: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
CONFIGURE_STYLE=gnu
CONFIGURE_ENV+= XTERM_CMD=xterm LDFLAGS="-L${LOCALBASE}/lib"
# XXX temporary until we have full internationalization support
#CONFIGURE_ENV+= ac_cv_header_wchar_h=no
CONFIGURE_ARGS+=${CONFIGURE_SHARED}
CONFIGURE_ARGS+=--enable-static --disable-mail-author
# GPL
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_CDROM= Yes
.include <bsd.port.mk>