2006-04-13 20:23:29 +02:00
|
|
|
# $NetBSD: Makefile,v 1.23 2006/04/13 18:23:32 jlam Exp $
|
2002-07-07 21:45:39 +02:00
|
|
|
|
2005-10-19 12:53:43 +02:00
|
|
|
DISTNAME= cooledit-3.17.17
|
2006-03-21 16:34:03 +01:00
|
|
|
PKGREVISION= 2
|
2002-07-07 21:45:39 +02:00
|
|
|
CATEGORIES= editors
|
2004-11-08 16:48:20 +01:00
|
|
|
MASTER_SITES= ftp://ftp.ibiblio.org/pub/Linux/apps/editors/X/cooledit/
|
2002-07-07 21:45:39 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2002-07-07 21:45:39 +02:00
|
|
|
HOMEPAGE= http://cooledit.sourceforge.net/
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Full-featured text editor
|
2002-07-07 21:45:39 +02:00
|
|
|
|
2004-11-08 16:48:20 +01:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_PKGLOCALEDIR= yes
|
2006-04-13 20:23:29 +02:00
|
|
|
USE_TOOLS+= gmake msgfmt
|
2004-11-08 16:48:20 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-07-07 21:45:39 +02:00
|
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
|
|
|
|
|
2006-03-21 16:34:03 +01:00
|
|
|
PTHREAD_AUTO_VARS= yes
|
|
|
|
|
2002-07-07 21:45:39 +02:00
|
|
|
post-configure:
|
2004-01-22 09:31:31 +01:00
|
|
|
if ${GREP} -q mbstate_t /usr/include/machine/ansi.h ; then :; else \
|
2002-07-07 21:45:39 +02:00
|
|
|
${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h.bak ; \
|
|
|
|
${SED} 's;^.*HAVE_WCHAR_H.*$$;/* mbstate_t is missing from machine/ansi.h */;g' \
|
|
|
|
< ${WRKSRC}/config.h.bak > ${WRKSRC}/config.h ; \
|
|
|
|
fi
|
|
|
|
|
2004-11-08 16:48:20 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2004-04-11 10:03:29 +02:00
|
|
|
.include "../../graphics/xpm/buildlink3.mk"
|
2004-11-08 16:48:20 +01:00
|
|
|
.include "../../lang/python/application.mk"
|
2006-03-21 16:34:03 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2002-07-07 21:45:39 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|