blob: 7dd118ddc2030e99156ffff1b49e44d6e5a04009 (
plain)
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
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.10 2000/04/28 10:11:02 drochner Exp $
#
DISTNAME= vipec-2.0.1
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
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_X11= yes
CONFIGURE_ENV+= "QTDIR=${X11BASE}/qt2" \
all_libraries="-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -Wl,-R${X11BASE}/lib -L${X11BASE}/lib"
CONFIGURE_ARGS+= "--with-qt-dir=${X11BASE}/qt2"
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
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/models/*.html ${PREFIX}/share/doc/vipec/models
${INSTALL_DATA} ${WRKSRC}/vipec/help/models/*.gif ${PREFIX}/share/doc/vipec/models
.include "../../mk/bsd.pkg.mk"
|