blob: e5611da77d56e59b45bd047cee5aff335b458609 (
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
|
# ex:ts=8
# Ports collection makefile for: viewklass
# Date created: Jun 4, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= viewklass
PORTVERSION= 0.6.0
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ViewKlass-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ Framework for Motif
.include <bsd.port.pre.mk>
BUILD_DEPENDS= xmkmf:${PORTSDIR}/devel/imake
.if ${XFREE86_VERSION} == 3
BUILD_DEPENDS= xmkmf:${PORTSDIR}/devel/imake
.else
BUILD_DEPENDS= xmkmf:${PORTSDIR}/devel/imake-4
.endif
USE_X_PREFIX= yes
USE_MOTIF= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile (bad C++ code)"
.endif
post-patch:
@${REINPLACE_CMD} -e 's/^CFLAGS=/CFLAGS+=/g ; \
s/^CXXFLAGS=/CXXFLAGS+=/g ; \
s/-g -Wall//g' ${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>
|