aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/qtez/Makefile27
1 files changed, 19 insertions, 8 deletions
diff --git a/devel/qtez/Makefile b/devel/qtez/Makefile
index 0fdfc55ef654..994e6740e7da 100644
--- a/devel/qtez/Makefile
+++ b/devel/qtez/Makefile
@@ -6,19 +6,30 @@
# $FreeBSD$
#
-DISTNAME= qtez-0.85.2
+DISTNAME= QtEZ.current-src
+PKGNAME= qtez-0.77a
CATEGORIES= devel
-MASTER_SITES= http://www.ibl.sk/qtez/download/
+MASTER_SITES= http://qtez.zax.net/qtez-extras/
MAINTAINER= will@FreeBSD.org
USE_X_PREFIX= yes
-USE_BZIP2= yes
-USE_QT2= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} --with-qt-includes=${X11BASE}/include/qt2 \
- --with-qt-libraries=${X11BASE}/lib
+USE_QT= yes
USE_GMAKE= yes
-MAKE_ENV+= PCFLAGS="${CXXFLAGS}"
+WRKSRC= ${WRKDIR}/qtez_src
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKDIR}/qtez_src/bin/qtez ${PREFIX}/bin
+ @${MKDIR} ${PREFIX}/share/examples/qtez
+ @cd ${WRKDIR}/qtez_src/demo; tar cf - . | (cd ${PREFIX}/share/examples/qtez; tar xf - )
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/qtez
+.for file in INSTALL KDE.README README TODO
+ @${INSTALL_DATA} ${WRKDIR}/qtez_src/${file} ${PREFIX}/share/doc/qtez
+.endfor
+ @cd ${WRKDIR}/qtez_src/docs; tar cf - . | (cd ${PREFIX}/share/doc/qtez; tar xf - )
+.endif
.include <bsd.port.mk>