diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-06-26 16:45:48 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-06-26 16:45:48 +0000 |
commit | ee1bdff76afb1079034c8ba9baeae3ec6af6ed8c (patch) | |
tree | 731e7412762cf0e27759c2cf8f4011bc4c2851d6 /misc/mango/Makefile | |
parent | 89123acd68c5869261cc7852726de8643c015507 (diff) | |
download | ports-ee1bdff76afb1079034c8ba9baeae3ec6af6ed8c.tar.gz ports-ee1bdff76afb1079034c8ba9baeae3ec6af6ed8c.zip |
Notes
Diffstat (limited to 'misc/mango/Makefile')
-rw-r--r-- | misc/mango/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/misc/mango/Makefile b/misc/mango/Makefile index 833a76c146e0..6b1357ea7941 100644 --- a/misc/mango/Makefile +++ b/misc/mango/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mango -PORTVERSION= 0.24 +PORTVERSION= 0.25 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=mango @@ -24,10 +24,12 @@ PKGNAMESUFFIX= -nokde .endif USE_BZIP2= yes -USE_QT_VER= 3 -MAKE_ENV+= QTDIR=${QT_PREFIX} LDFLAGS="-lkdevelopqextmdi" +USE_REINPLACE= yes +MAKE_ENV+= QTDIR=${QT_PREFIX} LDFLAGS="-lkextmdi" .if defined(WITH_KDE) USE_KDEBASE_VER= 3 +.else +USE_QT_VER= 3 .endif .if defined(MAKE_JOBS) MAKE_ARGS+= -j${MAKE_JOBS} @@ -48,14 +50,14 @@ pre-configure: do-configure: .if defined(WITH_KDE) @(cd ${WRKSRC} && \ - ${SED} -i -e 's|warn_on debug|warn_off release kde thread|' mango.pro) + ${REINPLACE_CMD} -e 's|warn_on debug|warn_off release kde|' mango.pro) .else @(cd ${WRKSRC} && \ - ${SED} -i -e 's|warn_on debug|warn_off release thread|' mango.pro) + ${REINPLACE_CMD} -e 's|warn_on debug|warn_off release|' mango.pro) .endif @(cd ${WRKSRC} && \ - ${SETENV} ${MAKE_ENV} PREFIX=${PREFIX} QMAKESPEC=freebsd-g++ \ - qmake mango.pro) + ${SETENV} ${MAKE_ENV} PREFIX=${PREFIX} \ + qmake -spec ${X11BASE}/share/qt/mkspecs/freebsd-g++ mango.pro) pre-install: @${INSTALL_PROGRAM} ${WRKSRC}/mango ${PREFIX}/bin |