summaryrefslogtreecommitdiff
path: root/editors/richtext/Makefile
blob: 35f1e2e168ccf148ff04ca346b4b804a3aca9119 (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
# New ports collection makefile for:	richtext
# Date created:		2006-07-30
# Whom:			Stanislav Sedov <ssedov@mbsd.msk.ru>
#
# $MBSDlabs$
# $FreeBSD$
#

PORTNAME=	richtext
PORTVERSION=	0.1.6
PORTREVISION=	1
CATEGORIES=	editors
MASTER_SITES=	${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	apps/editors/X

MAINTAINER=	stas@FreeBSD.org
COMMENT=	A simple RTF editor

BUILD_DEPENDS=	objc:${PORTSDIR}/lang/objc

USE_IMAKE=	yes
USE_MOTIF=	yes

PLIST_FILES=	bin/rt

post-configure:
	${REINPLACE_CMD} -E \
		-e "s,([[:space:]]*EXTRA_LOAD_FLAGS[[:space:]]*=).*,\1," \
		${WRKSRC}/Makefile
do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/rt ${PREFIX}/bin

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=		Does not compile with GCC 4.2
.endif

.include <bsd.port.post.mk>