4b2ab9676e
* Bug fixes
31 lines
919 B
Makefile
31 lines
919 B
Makefile
# $NetBSD: Makefile,v 1.15 2005/01/05 15:27:40 adam Exp $
|
|
|
|
DISTNAME= cooledit-3.17.14
|
|
CATEGORIES= editors
|
|
MASTER_SITES= ftp://ftp.ibiblio.org/pub/Linux/apps/editors/X/cooledit/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://cooledit.sourceforge.net/
|
|
COMMENT= Full-featured text editor
|
|
|
|
BUILD_USES_MSGFMT= yes
|
|
|
|
USE_BUILDLINK3= yes
|
|
USE_GNU_TOOLS+= make
|
|
USE_LIBTOOL= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_X11= yes
|
|
GNU_CONFIGURE= yes
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
|
|
|
|
post-configure:
|
|
if ${GREP} -q mbstate_t /usr/include/machine/ansi.h ; then :; else \
|
|
${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
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../graphics/xpm/buildlink3.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|