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
|
2006-02-23 11:40:44 +01:00
|
|
|
PORTREVISION= 1
|
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
|
|
|
|
2004-07-30 22:49:07 +02:00
|
|
|
USE_XLIB= yes
|
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
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
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
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 500000
|
|
|
|
CFLAGS+= -DHAVE_MBRTOWC
|
|
|
|
.endif
|
|
|
|
|
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
|
|
|
|
|
2004-12-15 16:21:50 +01:00
|
|
|
.include <bsd.port.post.mk>
|