Fixup fromcvs/togit conversion
[pkgsrcv2.git] / editors / cooledit / Makefile
1 # $NetBSD: Makefile,v 1.32 2011/04/22 13:43:24 obache Exp $
2
3 DISTNAME=       cooledit-3.17.17
4 PKGREVISION=    6
5 CATEGORIES=     editors
6 MASTER_SITES=   ftp://ftp.ibiblio.org/pub/Linux/apps/editors/X/cooledit/
7
8 MAINTAINER=     pkgsrc-users@NetBSD.org
9 HOMEPAGE=       # http://cooledit.sourceforge.net/
10 COMMENT=        Full-featured text editor
11
12 PKG_DESTDIR_SUPPORT=    user-destdir
13
14 USE_LIBTOOL=            yes
15 USE_PKGLOCALEDIR=       yes
16 USE_TOOLS+=             gmake msgfmt
17 GNU_CONFIGURE=          yes
18 PTHREAD_AUTO_VARS=      yes
19
20 post-configure:
21         if ${GREP} -q mbstate_t /usr/include/wchar.h ; then :; else \
22                 ${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h.bak ; \
23                 ${SED} 's;^.*HAVE_WCHAR_H.*$$;/* mbstate_t is missing from machine/ansi.h */;g' \
24                         < ${WRKSRC}/config.h.bak > ${WRKSRC}/config.h ; \
25         fi
26
27 .include "../../devel/gettext-lib/buildlink3.mk"
28 .include "../../lang/python/application.mk"
29 .include "../../x11/libXpm/buildlink3.mk"
30 .include "../../x11/libXt/buildlink3.mk"
31 .include "../../mk/pthread.buildlink3.mk"
32 .include "../../mk/bsd.pkg.mk"