Tweak editors/cooledit version 3.17.28_3
[dports.git] / editors / cooledit / Makefile
1 # Created by: brett@peloton.physics.montana.edu
2 # $FreeBSD$
3
4 PORTNAME=       cooledit
5 DISTVERSION=    3.17.28
6 PORTREVISION=   3
7 CATEGORIES=     editors
8 MASTER_SITES=   SUNSITE/apps/editors/X/cooledit
9
10 MAINTAINER=     ports@FreeBSD.org
11 COMMENT=        Suite of utilities, including a GUI editor
12
13 LICENSE=        GPLv2
14 LICENSE_FILE=   ${WRKSRC}/COPYING
15
16 USES=           gettext gmake libtool python xorg # gettext is linked to despite .mo files having been deleted
17 GNU_CONFIGURE=  yes
18 USE_XORG=       x11 xt
19 USE_LDCONFIG=   yes
20 USE_GCC=        any
21 INSTALL_TARGET= install-strip
22
23 CPPFLAGS+=      -I${LOCALBASE}/include
24 LDFLAGS+=       -lpthread -L${LOCALBASE}/lib
25 CFLAGS+=        -DHAVE_MBRTOWC
26
27 OPTIONS_DEFINE= NEXT_LOOK
28 NEXT_LOOK_DESC= Enable NeXT look
29 NEXT_LOOK_CONFIGURE_ENABLE=     NeXT-look
30
31 post-patch:
32         @${REINPLACE_CMD} -e 's|po pixmap man|po man|g' ${WRKSRC}/Makefile.in
33
34 .include <bsd.port.mk>