git: 883e7f87cfe8 - main - cad/adms: Fix dependencies and WWW; Cleanup

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 11 Jul 2022 04:26:21 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=883e7f87cfe873c13f0dab36958589f183396871

commit 883e7f87cfe873c13f0dab36958589f183396871
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-11 04:25:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-11 04:26:19 +0000

    cad/adms: Fix dependencies and WWW; Cleanup
---
 cad/adms/Makefile  | 16 ++++++++++++----
 cad/adms/pkg-descr |  2 +-
 cad/adms/pkg-plist |  6 ------
 3 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/cad/adms/Makefile b/cad/adms/Makefile
index 0377aac067dd..3e6255964a50 100644
--- a/cad/adms/Makefile
+++ b/cad/adms/Makefile
@@ -11,13 +11,21 @@ COMMENT=	Model generator for SPICE simulators
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	${RUN_DEPENDS}
-RUN_DEPENDS=	p5-XML-LibXML>=0:textproc/p5-XML-LibXML
+BUILD_DEPENDS=	p5-XML-LibXML>=0:textproc/p5-XML-LibXML
+
+USES=		bison cmake perl5
+USE_PERL5=	build
+USE_LDCONFIG=	yes
 
-USES=		bison cmake perl5 # libtool
 USE_GITHUB=	yes
 GH_ACCOUNT=	Qucs
 GH_PROJECT=	ADMS
-USE_LDCONFIG=	yes
+
+PLIST_FILES=	bin/admsCheck \
+		bin/admsXml \
+		include/adms/constants.vams \
+		include/adms/disciplines.vams \
+		share/man/man1/admsCheck.1.gz \
+		share/man/man1/admsXml.1.gz
 
 .include <bsd.port.mk>
diff --git a/cad/adms/pkg-descr b/cad/adms/pkg-descr
index 07a3fed7f8a9..1bb13e818a1d 100644
--- a/cad/adms/pkg-descr
+++ b/cad/adms/pkg-descr
@@ -2,4 +2,4 @@ ADMS is a code generator that converts electrical compact device models
 specified in high-level description language into ready-to-compile C
 code for the API of spice simulators.
 
-WWW: http://mot-adms.sourceforge.net/
+WWW: https://github.com/Qucs/ADMS
diff --git a/cad/adms/pkg-plist b/cad/adms/pkg-plist
deleted file mode 100644
index d7ecab889c8f..000000000000
--- a/cad/adms/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-bin/admsCheck
-bin/admsXml
-include/adms/constants.vams
-include/adms/disciplines.vams
-share/man/man1/admsCheck.1.gz
-share/man/man1/admsXml.1.gz