blob: 2ff53f12df620d1273c7643a43c49ca2239e7d73 (
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
48
49
|
# New ports collection makefile for: kdissert
# Date created: 2004 06 July
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= kdissert
PORTVERSION= 1.0.5
PORTREVISION= 1
CATEGORIES= deskutils kde
MASTER_SITES= http://www.kde-apps.org/content/files/
DISTNAME= 12725-${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= KDE mindmapping tool
BUILD_DEPENDS= scons:${PORTSDIR}/devel/scons
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_BZIP2= yes
USE_KDELIBS_VER= 3
USE_REINPLACE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500035
CXXFLAGS+= -fpermissive
.endif
post-patch:
@${REINPLACE_CMD} -e \
's:%%CXX%%:${CXX}:g ; \
s:%%CXXFLAGS%%:${CXXFLAGS} ${PTHREAD_CFLAGS}:g ; \
s:%%LINKFLAGS%%:${PTHREAD_LIBS}:g' ${WRKSRC}/SConstruct
do-configure:
@cd ${WRKSRC} && ${SETENV} PREFIX="${PREFIX}" \
QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}" scons configure
do-build:
@cd ${WRKSRC} && scons
do-install:
@cd ${WRKSRC} && scons install
@${STRIP_CMD} ${PREFIX}/bin/kdissert
.include <bsd.port.post.mk>
|