2020-01-26 18:30:40 +01:00
|
|
|
# $NetBSD: Makefile,v 1.13 2020/01/26 17:30:48 rillig Exp $
|
2002-10-14 04:28:18 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= verilog-mode-3.60
|
2005-08-28 06:25:28 +02:00
|
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
|
2013-02-17 20:17:55 +01:00
|
|
|
PKGREVISION= 3
|
2002-10-14 04:28:18 +02:00
|
|
|
CATEGORIES= cad editors
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
# The latest can be fetched interactively from
|
|
|
|
# MASTER_SITES= http://www.verilog.com/register.html
|
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= dmcmahill@NetBSD.org
|
2020-01-26 18:30:40 +01:00
|
|
|
HOMEPAGE= https://www.verilog.com/verilog-mode.html
|
2002-10-14 04:28:18 +02:00
|
|
|
COMMENT= Verilog mode for Emacs
|
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
|
2008-10-11 11:31:54 +02:00
|
|
|
.include "../../editors/emacs/modules.mk"
|
2002-10-14 04:28:18 +02:00
|
|
|
|
|
|
|
.if ${EMACS_FLAVOR} == "emacs"
|
|
|
|
EMACS= emacs
|
|
|
|
.else
|
|
|
|
EMACS= xemacs
|
|
|
|
.endif
|
|
|
|
|
|
|
|
SRCS= verilog-mode.el
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
for f in ${SRCS}; do \
|
|
|
|
${EMACS} --no-init-file --no-site-file -batch \
|
|
|
|
-f batch-byte-compile ${WRKSRC}/$$f; \
|
|
|
|
done
|
|
|
|
|
|
|
|
do-install:
|
2008-03-03 02:50:26 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
|
|
|
|
${DESTDIR}${EMACS_LISPPREFIX}
|
2002-10-14 04:28:18 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|