mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
0c5dc324a2
BUILD_DEPEND on qmake now. Submitted by: Kaarthik Sivakumar <kaarthik@comcast.net>
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: vipec
|
|
# Date created: April 3, 2001
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= vipec
|
|
PORTVERSION= 3.2.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= cad
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ViPEC-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Analyze high frequency, linear electrical networks
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
|
|
|
|
USE_QT_VER= 3
|
|
USE_GMAKE= yes
|
|
MAKE_ENV= QTDIR="${QT_PREFIX}"
|
|
|
|
post-patch:
|
|
@${SED} -e 's:@PREFIX@:${PREFIX}:g' \
|
|
${FILESDIR}/vipec.sh.in > ${WRKSRC}/../vipec.sh
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \
|
|
-spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ vipec.pro
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/../vipec.sh ${PREFIX}/bin/vipec
|
|
${INSTALL_PROGRAM} ${WRKSRC}/../vipec ${PREFIX}/bin/vipec.exec
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/../vipec.cfg ${DATADIR}
|
|
@${MKDIR} ${DATADIR}/ckt
|
|
${INSTALL_DATA} ${WRKSRC}/../ckt/*.* ${DATADIR}/ckt
|
|
@${MKDIR} ${DATADIR}/help
|
|
${INSTALL_DATA} ${WRKSRC}/../help/*.* ${DATADIR}/help
|
|
@${MKDIR} ${DATADIR}/help/models
|
|
${INSTALL_DATA} ${WRKSRC}/../help/models/*.* ${DATADIR}/help/models
|
|
@${MKDIR} ${DATADIR}/messages
|
|
${INSTALL_DATA} ${WRKSRC}/../messages/*.qm ${DATADIR}/messages
|
|
|
|
.include <bsd.port.mk>
|