aboutsummaryrefslogtreecommitdiffstats
path: root/cad/vipec/Makefile
blob: 8d465cbf0558acb2387634e287ea9f73bd6d2f56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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.1.2b3
CATEGORIES= cad
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ViPEC-${PORTVERSION}

MAINTAINER= kde@freebsd.org
COMMENT=    Analyze high frequency, linear electrical networks

BUILD_DEPENDS=  tmake:${PORTSDIR}/devel/tmake

USE_REINPLACE=  yes
USE_QT_VER= 2
USE_GMAKE=  yes
MAKE_ENV+=  TMAKEPATH="${LOCALBASE}/share/tmake/freebsd-g++" \
        QTDIR="${X11BASE}" MOC="${X11BASE}/bin/moc2" \
        SUBLIBS=${PTHREAD_LIBS}

post-patch:
    @${REINPLACE_CMD} -e "s,/opt,,g" ${WRKSRC}/Makefile

pre-install:
    @${RM} -rf ${WRKSRC}/help/models/CVS
    @${RM} -rf ${WRKSRC}/help/CVS
    @${RM} -rf ${WRKSRC}/ckt/CVS
    @${RM} -rf ${WRKSRC}/messages/CVS

.include <bsd.port.mk>