ports/134124: NEW port: cad/verilog-perl
Otacílio de Araújo Ramos Neto
otacilio.neto at ee.ufcg.edu.br
Fri May 1 01:20:02 UTC 2009
>Number: 134124
>Category: ports
>Synopsis: NEW port: cad/verilog-perl
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri May 01 01:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Otacílio de Araújo Ramos Neto
>Release:
>Organization:
>Environment:
FreeBSD squitch 7.1-RELEASE FreeBSD 7.1-RELEASE #4: Sat Mar 28 21:30:54 BRT 2009 ota at squitch:/usr/obj/usr/src/sys/SQUITCH i386
>Description:
The Verilog-Perl library is a building point for Verilog support in the Perl language.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# verilog-perl
# verilog-perl/files
# verilog-perl/files/patch-Makefile.PL
# verilog-perl/Makefile
# verilog-perl/scripts
# verilog-perl/scripts/pkg-plist.sh
# verilog-perl/distinfo
# verilog-perl/pkg-descr
#
echo c - verilog-perl
mkdir -p verilog-perl > /dev/null 2>&1
echo c - verilog-perl/files
mkdir -p verilog-perl/files > /dev/null 2>&1
echo x - verilog-perl/files/patch-Makefile.PL
sed 's/^X//' >verilog-perl/files/patch-Makefile.PL << 'e7b4cbc6065f25137aaab939c63503b4'
X*** Makefile.PL.orig 2009-04-03 15:17:16.000000000 -0300
X--- Makefile.PL 2009-04-12 00:39:45.000000000 -0300
X***************
X*** 78,83 ****
X--- 78,84 ----
X VERSION_FROM => 'Language.pm',
X NO_META => 1,
X #OPTIMIZE => '-ggdb',
X+ MAKE => 'gmake',
X PREREQ_PM => {'Pod::Usage' => 1,
X 'Data::Dumper' => 1,
X 'Test' => 1,
X***************
X*** 85,91 ****
X #'Test::Pod' => 1, # Required only for author tests
X #'Test::Perl::Critic' => 1, # Required only for author tests
X },
X! PMLIBDIRS => ['lib', 'Verilog', 'Netlist',],
X EXE_FILES => [qw( vrename vpassert vppreproc vhier vsplitmodule )],
X 'clean' => {FILES => qw (test_dir signals.vrename .vpassert simv ),},
X 'dist' => {COMPRESS => 'gzip -9f',
X--- 86,92 ----
X #'Test::Pod' => 1, # Required only for author tests
X #'Test::Perl::Critic' => 1, # Required only for author tests
X },
X! PMLIBDIRS => ['lib', 'Parser', 'Preproc', 'Netlist',],
X EXE_FILES => [qw( vrename vpassert vppreproc vhier vsplitmodule )],
X 'clean' => {FILES => qw (test_dir signals.vrename .vpassert simv ),},
X 'dist' => {COMPRESS => 'gzip -9f',
e7b4cbc6065f25137aaab939c63503b4
echo x - verilog-perl/Makefile
sed 's/^X//' >verilog-perl/Makefile << '68a2037285a27f97e24dbcff6a5ec5b8'
X# New ports collection makefile for: Verilog-Perl
X# Date created: 11 Apr 2009
X# Whom: OtacÃlio de Araújo Ramos Neto <otacilio.neto at ee.ufcg.edu.br>
X#
X# $FreeBSD$
X#
X
XPORTNAME= Verilog-Perl
XPORTVERSION= 3.121
XPORTREVISIO= 0
XCATEGORIES= cad
XMASTER_SITES= http://search.cpan.org/CPAN/authors/id/W/WS/WSNYDER/
XDISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
XFETCH_ARGS= -pRr
XPLIST=${WRKSRC}/pkg-plist
X
XMAINTAINER= otacilio.neto at ee.ufcg.edu.br
XCOMMENT= The Verilog-Perl library is a building point for Verilog support in the Perl language.
X
XUSE_GMAKE= yes
XUSE_PERL5= yes
X
XBUILD_DEPENDS= gcc>=4:${PORTSDIR}/lang/gcc43
X
XMAN1= vhier.1 \
X vpassert.1 \
X vppreproc.1 \
X vrename.1
X
XMAN3= Verilog::EditFiles.3 Verilog::Netlist::Logger.3 Verilog::Parser.3 Verilog::Getopt.3 Verilog::Netlist::Module.3 Verilog::Preproc.3 Verilog::Language.3 Verilog::Netlist::Net.3 Verilog::SigParser.3 Verilog::Netlist.3 Verilog::Netlist::Pin.3 Verilog::Netlist::Cell.3 Verilog::Netlist::Port.3 Verilog::Netlist::File.3 Verilog::Netlist::Subclass.3 Verilog::Verilog-Perl.3
X
Xpre-build:
X cd ${WRKSRC} && perl Makefile.PL INSTALLBIN=${PREFIX}/bin INSTALLSITEBIN=${PREFIX}/bin INSTALLSCRIPT=${PREFIX}/bin INSTALLSITESCRIPT=${PREFIX}/bin INSTALLSITEMAN3DIR=${PREFIX}/man/man3 SITELIBEXP=${PREFIX}/${SITE_PERL_REL} SITEARCHEXP=${PREFIX}/${SITE_PERL_REL}/mach INSTALLSITELIB=${PREFIX}/${SITE_PERL_REL} INSTALLSITEARCH=${PREFIX}/${SITE_PERL_REL}/mach INSTALLMAN1DIR=${PREFIX}/man/man1 INSTALLSITEMAN1DIR=${PREFIX}/man/man1
X
Xpost-build:
X cd ${WRKSRC} && make test
X
Xpre-install:
X /bin/sh scripts/pkg-plist.sh ${SITE_PERL_REL} > ${WRKSRC}/pkg-plist
X
Xtest:
X make post-build
X
X.include <bsd.port.mk>
68a2037285a27f97e24dbcff6a5ec5b8
echo c - verilog-perl/scripts
mkdir -p verilog-perl/scripts > /dev/null 2>&1
echo x - verilog-perl/scripts/pkg-plist.sh
sed 's/^X//' >verilog-perl/scripts/pkg-plist.sh << 'b0a7f442026daefc8ceff6cf8c0e99c7'
X#!/bin/sh
Xecho "bin/vhier"
Xecho "bin/vpassert"
Xecho "bin/vppreproc"
Xecho "bin/vrename"
Xecho "bin/vsplitmodule"
Xecho "$1/mach/Verilog/EditFiles.pm"
Xecho "$1/mach/Verilog/Getopt.pm"
Xecho "$1/mach/Verilog/Language.pm"
Xecho "$1/mach/Verilog/Netlist.pm"
Xecho "$1/mach/Verilog/Netlist/Cell.pm"
Xecho "$1/mach/Verilog/Netlist/File.pm"
Xecho "$1/mach/Verilog/Netlist/Logger.pm"
Xecho "$1/mach/Verilog/Netlist/Module.pm"
Xecho "$1/mach/Verilog/Netlist/Net.pm"
Xecho "$1/mach/Verilog/Netlist/Pin.pm"
Xecho "$1/mach/Verilog/Netlist/Port.pm"
Xecho "$1/mach/Verilog/Netlist/Subclass.pm"
Xecho "$1/mach/Verilog/Parser.pm"
Xecho "$1/mach/Verilog/Preproc.pm"
Xecho "$1/mach/Verilog/SigParser.pm"
Xecho "$1/mach/Verilog/Verilog-Perl.pod"
Xecho "$1/mach/auto/Verilog/Language/.packlist"
Xecho "$1/mach/auto/Verilog/Parser/Parser.bs"
Xecho "$1/mach/auto/Verilog/Parser/Parser.so"
Xecho "$1/mach/auto/Verilog/Preproc/Preproc.bs"
Xecho "$1/mach/auto/Verilog/Preproc/Preproc.so"
Xecho "@dirrm $1/mach/auto/Verilog/Preproc"
Xecho "@dirrm $1/mach/auto/Verilog/Parser"
Xecho "@dirrm $1/mach/auto/Verilog/Language"
Xecho "@dirrm $1/mach/auto/Verilog"
Xecho "@dirrm $1/mach/Verilog/Netlist"
Xecho "@dirrm $1/mach/Verilog"
b0a7f442026daefc8ceff6cf8c0e99c7
echo x - verilog-perl/distinfo
sed 's/^X//' >verilog-perl/distinfo << '660d025849b2667c4b435b6025375f3d'
XMD5 (Verilog-Perl-3.121.tar.gz) = c4659710d776f33f0a127194cfb677f6
XSHA256 (Verilog-Perl-3.121.tar.gz) = f9b0a58ac209601f6c2bc6bc502294c826226031510259b97d457f3094c489f5
XSIZE (Verilog-Perl-3.121.tar.gz) = 166992
660d025849b2667c4b435b6025375f3d
echo x - verilog-perl/pkg-descr
sed 's/^X//' >verilog-perl/pkg-descr << '31ab386db09ef2c404b3ee5fb5b0e514'
XThe Verilog-Perl library is a building point for Verilog support in the Perl language. It includes:
X
X * Verilog::Getopt which parses command line options similar to C++ and VCS.
X
X * Verilog::Language which knows the language keywords and parses numbers.
X
X * Verilog::Netlist which builds netlists out of Verilog files. This allows easy scripts to determine things such as the hierarchy of modules.
X
X * Verilog::Parser invokes callbacks for language tokens.
X
X * Verilog::Preproc preprocesses the language, and allows reading post-processed files right from Perl without temporary files.
X
X * vpassert inserts PLIish warnings and assertions for any simulator.
X
X * vppreproc preprocesses the complete Verilog 2001 and SystemVerilog language.
X
X * vrename renames and cross-references Verilog symbols. Vrename creates Verilog cross references and makes it easy to rename signal and module names across multiple files. Vrename uses a simple and efficient three step process. First, you run vrename to create a list of signals in the design. You then edit this list, changing as many symbols as you wish. Vrename is then run a second time to apply the changes.
X
Xhttp://www.veripool.org/wiki/verilog-perl
31ab386db09ef2c404b3ee5fb5b0e514
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list