summaryrefslogtreecommitdiff
path: root/cad/vipec/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-26 19:54:48 +0000
committerjlam <jlam@pkgsrc.org>2001-06-26 19:54:48 +0000
commit5df6c35daf7b8d201c677bed392859058d134589 (patch)
tree6cc3e4a77d59d1c8c10e7862f1188404521dba7d /cad/vipec/Makefile
parent3e78114e4987412f584d47f0f1137e52d6f0ce3b (diff)
downloadpkgsrc-5df6c35daf7b8d201c677bed392859058d134589.tar.gz
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
Diffstat (limited to 'cad/vipec/Makefile')
-rw-r--r--cad/vipec/Makefile20
1 files changed, 8 insertions, 12 deletions
diff --git a/cad/vipec/Makefile b/cad/vipec/Makefile
index 29d5a9c8c75..b777128a43a 100644
--- a/cad/vipec/Makefile
+++ b/cad/vipec/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2001/06/11 06:34:20 jlam Exp $
+# $NetBSD: Makefile,v 1.23 2001/06/26 20:26:16 jlam Exp $
#
DISTNAME= vipec-2.0.4
@@ -9,19 +9,14 @@ MAINTAINER= dmcmahill@netbsd.org
HOMEPAGE= http://www.netfold.com/~vipec/
COMMENT= Network analyser for electrical networks
-DEPENDS+= qt2-libs-*:../../x11/qt2-libs
-
-GNU_CONFIGURE= yes
-USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-USE_X11= yes
+USE_X11= yes
+USE_BUILDLINK_ONLY= yes
-EVAL_PREFIX+= QT2DIR=qt2-libs
-# make sure configure finds png
-CPPFLAGS+= -I${LOCALBASE}/include
-CONFIGURE_ENV+= "QTDIR=${QT2DIR}/qt2" \
- USER_LDFLAGS="-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -Wl,-R${X11BASE}/lib -L${X11BASE}/lib"
-CONFIGURE_ARGS+= "--with-qt-dir=${QT2DIR}/qt2"
+CONFIGURE_ARGS+= --with-qt-dir=${BUILDLINK_QTDIR}
+CONFIGURE_ENV+= USER_LDFLAGS="${LDFLAGS}"
post-patch:
${MV} -f ${WRKSRC}/vipec/helpwindow.cpp ${WRKSRC}/vipec/helpwindow.cpp.in
@@ -40,4 +35,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/vipec/help/models/*.html ${PREFIX}/share/doc/vipec/models
${INSTALL_DATA} ${WRKSRC}/vipec/help/models/*.png ${PREFIX}/share/doc/vipec/models
+.include "../../x11/qt2-libs/buildlink.mk"
.include "../../mk/bsd.pkg.mk"