diff options
Diffstat (limited to 'cad/vipec/Makefile')
-rw-r--r-- | cad/vipec/Makefile | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/cad/vipec/Makefile b/cad/vipec/Makefile index 69e8da91083..ed49aaa5460 100644 --- a/cad/vipec/Makefile +++ b/cad/vipec/Makefile @@ -1,45 +1,40 @@ -# $NetBSD: Makefile,v 1.16 2000/08/16 02:08:52 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2000/08/28 19:52:33 dmcmahill Exp $ # -DISTNAME= vipec-2.0.1 +DISTNAME= vipec-2.0.4 CATEGORIES= cad MASTER_SITES= http://netfold.com/~vipec/public_ftp/stable/ MAINTAINER= dmcmahill@netbsd.org HOMEPAGE= http://www.netfold.com/~vipec/ -DEPENDS+= qt2-2.0.2:../../x11/qt +DEPENDS+= qt21-2.1.1:../../x11/qt21 GNU_CONFIGURE= yes USE_LIBTOOL= yes LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig USE_X11= yes -EVAL_PREFIX+= QT2DIR=qt2 -CONFIGURE_ENV+= "QTDIR=${QT2DIR}/qt2" \ +EVAL_PREFIX+= QT2DIR=qt21 +CONFIGURE_ENV+= "QTDIR=${QT2DIR}/qt21" \ all_libraries="-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=${QT2DIR}/qt21" -post-extract: - ${MV} -f ${WRKSRC}/bin/start_vipec_help ${WRKSRC}/bin/start_vipec_help.in - -pre-configure: - ${RM} -f ${WRKSRC}/config.cache - -post-configure: - ${SED} 's;@prefix@;${PREFIX};g' ${WRKSRC}/bin/start_vipec_help.in > ${WRKSRC}/bin/start_vipec_help +post-patch: + ${MV} -f ${WRKSRC}/vipec/helpwindow.cpp ${WRKSRC}/vipec/helpwindow.cpp.in + ${SED} "s;@prefix@;${PREFIX};g" ${WRKSRC}/vipec/helpwindow.cpp.in > \ + ${WRKSRC}/vipec/helpwindow.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/vipec/vipec ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/bin/start_vipec_help ${PREFIX}/bin ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vipec ${INSTALL_DATA} ${WRKSRC}/vipec/ckt/*.ckt ${PREFIX}/share/examples/vipec ${INSTALL_DATA} ${WRKSRC}/vipec/ckt/*.s2p ${PREFIX}/share/examples/vipec ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vipec ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vipec/models ${INSTALL_DATA} ${WRKSRC}/vipec/help/*.html ${PREFIX}/share/doc/vipec - ${INSTALL_DATA} ${WRKSRC}/vipec/help/*.gif ${PREFIX}/share/doc/vipec + ${INSTALL_DATA} ${WRKSRC}/vipec/help/*.png ${PREFIX}/share/doc/vipec ${INSTALL_DATA} ${WRKSRC}/vipec/help/models/*.html ${PREFIX}/share/doc/vipec/models - ${INSTALL_DATA} ${WRKSRC}/vipec/help/models/*.gif ${PREFIX}/share/doc/vipec/models + ${INSTALL_DATA} ${WRKSRC}/vipec/help/models/*.png ${PREFIX}/share/doc/vipec/models .include "../../mk/bsd.pkg.mk" |