2002-03-13 18:36:35 +01:00
|
|
|
# $NetBSD: Makefile,v 1.27 2002/03/13 17:36:40 fredb Exp $
|
1999-06-03 18:26:26 +02:00
|
|
|
#
|
|
|
|
|
2000-08-28 21:52:33 +02:00
|
|
|
DISTNAME= vipec-2.0.4
|
2002-03-13 18:36:35 +01:00
|
|
|
PKGREVISION= 1
|
1999-06-03 18:26:26 +02:00
|
|
|
CATEGORIES= cad
|
2000-03-28 23:48:41 +02:00
|
|
|
MASTER_SITES= http://netfold.com/~vipec/public_ftp/stable/
|
1999-06-03 18:26:26 +02:00
|
|
|
|
2000-03-23 23:07:12 +01:00
|
|
|
MAINTAINER= dmcmahill@netbsd.org
|
1999-06-03 18:26:26 +02:00
|
|
|
HOMEPAGE= http://www.netfold.com/~vipec/
|
2001-02-16 14:41:26 +01:00
|
|
|
COMMENT= Network analyser for electrical networks
|
1999-06-03 18:26:26 +02:00
|
|
|
|
2001-06-26 21:54:48 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2000-08-16 04:08:52 +02:00
|
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
|
2001-06-26 21:54:48 +02:00
|
|
|
USE_BUILDLINK_ONLY= yes
|
1999-06-03 18:26:26 +02:00
|
|
|
|
2001-06-26 21:54:48 +02:00
|
|
|
CONFIGURE_ARGS+= --with-qt-dir=${BUILDLINK_QTDIR}
|
|
|
|
CONFIGURE_ENV+= USER_LDFLAGS="${LDFLAGS}"
|
2000-03-28 02:09:19 +02:00
|
|
|
|
2000-08-28 21:52:33 +02:00
|
|
|
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
|
2000-03-28 02:09:19 +02:00
|
|
|
|
1999-06-03 18:26:26 +02:00
|
|
|
do-install:
|
2000-03-28 23:48:41 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vipec/vipec ${PREFIX}/bin
|
1999-06-03 18:26:26 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vipec
|
2000-03-28 23:48:41 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/vipec/ckt/*.ckt ${PREFIX}/share/examples/vipec
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/vipec/ckt/*.s2p ${PREFIX}/share/examples/vipec
|
1999-06-03 18:26:26 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vipec
|
2000-03-28 23:48:41 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vipec/models
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/vipec/help/*.html ${PREFIX}/share/doc/vipec
|
2000-08-28 21:52:33 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/vipec/help/*.png ${PREFIX}/share/doc/vipec
|
2000-03-28 23:48:41 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/vipec/help/models/*.html ${PREFIX}/share/doc/vipec/models
|
2000-08-28 21:52:33 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/vipec/help/models/*.png ${PREFIX}/share/doc/vipec/models
|
1999-06-03 18:26:26 +02:00
|
|
|
|
2001-10-23 15:14:43 +02:00
|
|
|
.include "../../x11/qt2-libs/buildlink.mk"
|
2001-10-25 00:10:43 +02:00
|
|
|
.include "../../mk/x11.buildlink.mk"
|
1999-06-03 18:26:26 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|