1998-04-19 07:14:17 +02:00
|
|
|
# New ports collection makefile for: cooledit
|
|
|
|
# Date created: 18 November 1997
|
|
|
|
# Whom: brett@peloton.physics.montana.edu
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1998-04-19 07:14:17 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 02:25:54 +02:00
|
|
|
PORTNAME= cooledit
|
2005-06-22 19:42:28 +02:00
|
|
|
PORTVERSION= 3.17.17
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 4
|
1998-04-19 07:14:17 +02:00
|
|
|
CATEGORIES= editors
|
2004-07-30 22:49:07 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
|
|
|
MASTER_SITE_SUBDIR= apps/editors/X/cooledit
|
1998-04-19 07:14:17 +02:00
|
|
|
|
2003-05-16 05:33:40 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 12:38:28 +01:00
|
|
|
COMMENT= Suite of utilities, including a GUI editor
|
1998-04-19 07:14:17 +02:00
|
|
|
|
2009-08-02 21:36:34 +02:00
|
|
|
USE_AUTOTOOLS= libtool:22
|
2003-05-16 05:33:40 +02:00
|
|
|
USE_PYTHON= yes
|
2004-07-30 22:49:07 +02:00
|
|
|
USE_GETTEXT= yes
|
2001-01-16 18:33:20 +01:00
|
|
|
USE_GMAKE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11 xt
|
2004-07-30 22:49:07 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2006-08-07 14:11:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
1999-06-09 02:05:23 +02:00
|
|
|
|
2004-07-30 22:49:07 +02:00
|
|
|
MAN1= cooledit.1 coolman.1 smalledit.1
|
1998-04-19 07:14:17 +02:00
|
|
|
|
2004-12-15 16:21:50 +01:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
2004-07-30 22:49:07 +02:00
|
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2004-12-15 16:21:50 +01:00
|
|
|
CFLAGS+= -DHAVE_MBRTOWC
|
|
|
|
|
2004-07-30 22:49:07 +02:00
|
|
|
.if defined(WITH_NEXT_LOOK)
|
|
|
|
CONFIGURE_ARGS+= --enable-NeXT-look
|
2003-05-16 05:33:40 +02:00
|
|
|
.endif
|
2004-07-30 22:49:07 +02:00
|
|
|
|
2005-06-22 19:42:28 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|po pixmap man|po man|g' ${WRKSRC}/Makefile.in
|
|
|
|
|
2007-11-05 11:15:52 +01:00
|
|
|
.include <bsd.port.mk>
|