Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= dinotrace |
8 |
PORTNAME= dinotrace |
9 |
DISTVERSION= 9.3f |
9 |
PORTVERSION= 9.4c |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= cad |
10 |
CATEGORIES= cad |
12 |
MASTER_SITES= http://www.veripool.org/ftp/ |
11 |
MASTER_SITES= http://www.veripool.org/ftp/ |
13 |
EXTRACT_SUFX= .tgz |
12 |
EXTRACT_SUFX= .tgz |
Lines 19-54
Link Here
|
19 |
OPTIONS_DEFAULT= EMACS |
18 |
OPTIONS_DEFAULT= EMACS |
20 |
EMACS_DESC= Install Emacs supplimentary files |
19 |
EMACS_DESC= Install Emacs supplimentary files |
21 |
|
20 |
|
22 |
GNU_CONFIGURE= yes |
21 |
USE_XORG= x11 sm ice xmu xt |
23 |
USE_MOTIF= yes |
22 |
USE_MOTIF= yes |
24 |
USE_PERL5_BUILD= yes |
23 |
USE_PERL5_BUILD= yes |
25 |
USE_XORG= x11 sm ice xmu xt |
|
|
26 |
USE_GMAKE= yes |
24 |
USE_GMAKE= yes |
|
|
25 |
GNU_CONFIGURE= yes |
26 |
MAKE_JOBS_SAFE= yes |
27 |
|
27 |
|
28 |
INFO= dinotrace |
28 |
INFO= dinotrace |
29 |
|
29 |
PLIST_FILES= bin/dinotrace |
30 |
VERILOGEL_FILE= ${LOCALBASE}/share/verilog-mode.el/verilog-mode.el |
|
|
31 |
ELFILES= dinotrace.el sim-log.el |
32 |
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp |
33 |
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp |
34 |
|
30 |
|
35 |
.include <bsd.port.options.mk> |
31 |
.include <bsd.port.options.mk> |
|
|
32 |
|
36 |
.if ${PORT_OPTIONS:MEMACS} |
33 |
.if ${PORT_OPTIONS:MEMACS} |
37 |
RUN_DEPENDS+= ${VERILOGEL_FILE}:${PORTSDIR}/cad/verilog-mode.el |
34 |
RUN_DEPENDS+= verilog-mode.el>0:${PORTSDIR}/cad/verilog-mode.el |
38 |
PLIST_SUB+= EMACS="" |
35 |
USE_EMACS= yes |
39 |
.else |
36 |
EMACS_NO_BUILD_DEPENDS= yes |
40 |
PLIST_SUB+= EMACS="@comment " |
37 |
.for F in dinotrace.el sim-log.el |
|
|
38 |
PLIST_FILES+= ${EMACS_SITE_LISPDIR}/${F} |
39 |
.endfor |
41 |
.endif |
40 |
.endif |
42 |
|
41 |
|
|
|
42 |
post-patch: |
43 |
@${REINPLACE_CMD} -e 's|"-O3"|""|' ${WRKSRC}/configure |
44 |
|
43 |
post-install: |
45 |
post-install: |
44 |
.if ${PORT_OPTIONS:MEMACS} |
46 |
.if ${PORT_OPTIONS:MEMACS} |
45 |
${MKDIR} ${DATADIR}/ |
47 |
@${MKDIR} ${PREFIX}/${EMACS_SITE_LISPDIR} |
46 |
${MKDIR} ${XEMACSLISPDIR} |
48 |
.for F in dinotrace.el sim-log.el |
47 |
. for FILE in ${ELFILES} |
49 |
${INSTALL_DATA} ${WRKSRC}/lisp/${F} ${PREFIX}/${EMACS_SITE_LISPDIR} |
48 |
${INSTALL_DATA} ${WRKSRC}/lisp/${FILE} ${DATADIR}/ |
50 |
.endfor |
49 |
${LN} -sf ${DATADIR}/${FILE} ${EMACSLISPDIR}/${FILE} |
|
|
50 |
${LN} -sf ${DATADIR}/${FILE} ${XEMACSLISPDIR}/${FILE} |
51 |
. endfor |
52 |
@${CAT} ${PKGMESSAGE} |
51 |
@${CAT} ${PKGMESSAGE} |
53 |
.endif |
52 |
.endif |
54 |
|
53 |
|