aboutsummaryrefslogtreecommitdiffstats
path: root/editors/cooledit/Makefile
blob: 2fa80b39f44f0c87f1af90a14b8c86e1b1564c35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:     cooledit
# Date created:     18 November 1997
# Whom:         brett@peloton.physics.montana.edu
#
# $FreeBSD$
#

PORTNAME=   cooledit
PORTVERSION=    3.17.17
PORTREVISION=   2
CATEGORIES= editors
MASTER_SITES=   ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/editors/X/cooledit

MAINTAINER= ports@FreeBSD.org
COMMENT=    Suite of utilities, including a GUI editor

USE_AUTOTOOLS=  libtool:15
USE_XLIB=   yes
USE_PYTHON= yes
USE_GETTEXT=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG=   yes

MAN1=       cooledit.1 coolman.1 smalledit.1

CPPFLAGS=   -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS=    -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CFLAGS+=    -DHAVE_MBRTOWC

.if defined(WITH_NEXT_LOOK)
CONFIGURE_ARGS+=    --enable-NeXT-look
.endif

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=     Broken with gcc 4.2
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|po pixmap man|po man|g' ${WRKSRC}/Makefile.in

.include <bsd.port.post.mk>