1998-04-19 05:14:17 +00:00
|
|
|
# New ports collection makefile for: cooledit
|
|
|
|
# Date created: 18 November 1997
|
|
|
|
# Whom: brett@peloton.physics.montana.edu
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1998-04-19 05:14:17 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 00:25:54 +00:00
|
|
|
PORTNAME= cooledit
|
2004-07-30 20:49:07 +00:00
|
|
|
PORTVERSION= 3.17.8
|
1998-04-19 05:14:17 +00:00
|
|
|
CATEGORIES= editors
|
2004-07-30 20:49:07 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
|
|
|
MASTER_SITE_SUBDIR= apps/editors/X/cooledit
|
1998-04-19 05:14:17 +00:00
|
|
|
|
2003-05-16 03:33:40 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 11:38:28 +00:00
|
|
|
COMMENT= Suite of utilities, including a GUI editor
|
1998-04-19 05:14:17 +00:00
|
|
|
|
2004-07-30 20:49:07 +00:00
|
|
|
USE_XLIB= yes
|
2003-05-16 03:33:40 +00:00
|
|
|
USE_PYTHON= yes
|
2004-07-30 20:49:07 +00:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_REINPLACE= yes
|
2001-01-16 17:33:20 +00:00
|
|
|
USE_GMAKE= yes
|
2004-07-30 20:49:07 +00:00
|
|
|
USE_LIBTOOL_VER= 15
|
2003-05-16 03:33:40 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-07-30 20:49:07 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
|
|
|
|
AUTOMAKE="${TRUE}"
|
2003-05-16 03:33:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
1999-06-09 00:05:23 +00:00
|
|
|
|
2004-07-30 20:49:07 +00:00
|
|
|
MAN1= cooledit.1 coolman.1 smalledit.1
|
1998-04-19 05:14:17 +00:00
|
|
|
|
2004-07-30 20:49:07 +00:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -DHAVE_GETTEXT ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
|
|
|
|
.if defined(WITH_NEXT_LOOK)
|
|
|
|
CONFIGURE_ARGS+= --enable-NeXT-look
|
2003-05-16 03:33:40 +00:00
|
|
|
.endif
|
2004-07-30 20:49:07 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|^PACKAGE_FORCE|#PACKAGE_FORGE|g ; \
|
|
|
|
s|USE_INCLUDED_LIBINTL=yes|USE_INCLUDED_LIBINTL=no|g ; \
|
|
|
|
s|\\$${top_builddir}/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e 's|#undef HAVE_WCHAR_H||g ; \
|
|
|
|
s|#undef HAVE_DCGETTEXT||g' ${WRKSRC}/config.h.in
|
|
|
|
@${REINPLACE_CMD} -e 's|m4 intl rxvt|m4 rxvt|g' ${WRKSRC}/Makefile.in
|
2000-05-19 13:05:43 +00:00
|
|
|
|
1998-04-19 05:14:17 +00:00
|
|
|
.include <bsd.port.mk>
|