aboutsummaryrefslogtreecommitdiff
path: root/deskutils/kdissert/Makefile
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-08-01 19:41:10 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-08-01 19:41:10 +0000
commit2074b8053efcfa7cbf4baa4ef1186bcc418c9829 (patch)
tree764a0082af636561f9941c64e87f241a3dacfd87 /deskutils/kdissert/Makefile
parent96f66631f6a6ceab2b3c8c1a852fe1b37052dcd1 (diff)
downloadports-2074b8053efcfa7cbf4baa4ef1186bcc418c9829.tar.gz
ports-2074b8053efcfa7cbf4baa4ef1186bcc418c9829.zip
Update to version 1.0.6
PR: ports/101190 Submitted by: KATO Tsuguru
Notes
Notes: svn path=/head/; revision=169386
Diffstat (limited to 'deskutils/kdissert/Makefile')
-rw-r--r--deskutils/kdissert/Makefile29
1 files changed, 16 insertions, 13 deletions
diff --git a/deskutils/kdissert/Makefile b/deskutils/kdissert/Makefile
index 6cf60d1141ec..02b8d3351320 100644
--- a/deskutils/kdissert/Makefile
+++ b/deskutils/kdissert/Makefile
@@ -6,21 +6,22 @@
#
PORTNAME= kdissert
-PORTVERSION= 1.0.5
-PORTREVISION= 1
+PORTVERSION= 1.0.6
CATEGORIES= deskutils kde
MASTER_SITES= http://www.kde-apps.org/content/files/
-DISTNAME= 12725-${PORTNAME}-${PORTVERSION}
+DISTNAME= 12725-${PORTNAME}-${PORTVERSION}-waf-b
MAINTAINER= ports@FreeBSD.org
COMMENT= KDE mindmapping tool
-BUILD_DEPENDS= scons:${PORTSDIR}/devel/scons
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WRKSRC= ${WRKDIR}/${DISTNAME:S/^12725-//}
USE_BZIP2= yes
+USE_GETTEXT= yes
+INSTALLS_ICONS= yes
USE_KDELIBS_VER= 3
+USE_PYTHON_BUILD= yes
+MAKE_ENV= QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}"
.include <bsd.port.pre.mk>
@@ -28,21 +29,23 @@ USE_KDELIBS_VER= 3
CXXFLAGS+= -fpermissive
.endif
+post-extract:
+ @cd ${WRKSRC} && ${TAR} yxf miniwaf.tar.bz2
+
post-patch:
@${REINPLACE_CMD} -e \
- 's:%%CXX%%:${CXX}:g ; \
- s:%%CXXFLAGS%%:${CXXFLAGS} ${PTHREAD_CFLAGS}:g ; \
- s:%%LINKFLAGS%%:${PTHREAD_LIBS}:g' ${WRKSRC}/SConstruct
+ 's|%%LINKFLAGS%%|${PTHREAD_LIBS}|g ; \
+ s|%%CPPFLAGS%%|${PTHREAD_CFLAGS}|g' \
+ ${WRKSRC}/src/kdissert/wscript_build
do-configure:
- @cd ${WRKSRC} && ${SETENV} PREFIX="${PREFIX}" \
- QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}" scons configure
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf.py configure
do-build:
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} scons
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf.py
do-install:
- @cd ${WRKSRC} && scons install
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf.py install
@${STRIP_CMD} ${PREFIX}/bin/kdissert
.include <bsd.port.post.mk>