pkgsrc/cad/vipec/Makefile

41 lines
1.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.27 2002/03/13 17:36:40 fredb Exp $
#
DISTNAME= vipec-2.0.4
PKGREVISION= 1
CATEGORIES= cad
MASTER_SITES= http://netfold.com/~vipec/public_ftp/stable/
MAINTAINER= dmcmahill@netbsd.org
HOMEPAGE= http://www.netfold.com/~vipec/
COMMENT= Network analyser for electrical networks
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
USE_BUILDLINK_ONLY= yes
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
${SED} "s;@prefix@;${PREFIX};g" ${WRKSRC}/vipec/helpwindow.cpp.in > \
${WRKSRC}/vipec/helpwindow.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vipec/vipec ${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/*.png ${PREFIX}/share/doc/vipec
${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/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"