diff options
author | tron <tron@pkgsrc.org> | 2001-06-30 23:55:55 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-06-30 23:55:55 +0000 |
commit | 43a5407b2050f2a04f2e8831c26eeae1c4f90f9f (patch) | |
tree | 7ca66b4203cf8253582dcf247e411d20ea01d360 /net/ethereal | |
parent | d357741862c0f095de5a24332100951b4aa1dc24 (diff) | |
download | pkgsrc-43a5407b2050f2a04f2e8831c26eeae1c4f90f9f.tar.gz |
Get rid of "ETHEREAL_VERSION" variable by extracting the version number
from the package name.
Diffstat (limited to 'net/ethereal')
-rw-r--r-- | net/ethereal/Makefile | 8 | ||||
-rw-r--r-- | net/ethereal/pkg/PLIST | 16 |
2 files changed, 11 insertions, 13 deletions
diff --git a/net/ethereal/Makefile b/net/ethereal/Makefile index cfd1ab4a249..86d20c97a30 100644 --- a/net/ethereal/Makefile +++ b/net/ethereal/Makefile @@ -1,8 +1,6 @@ -# $NetBSD: Makefile,v 1.47 2001/06/12 20:33:06 jlam Exp $ -# +# $NetBSD: Makefile,v 1.48 2001/06/30 23:55:55 tron Exp $ -ETHEREAL_VERSION= 0.8.18 -DISTNAME= ethereal-${ETHEREAL_VERSION} +DISTNAME= ethereal-0.8.18 CATEGORIES= net MASTER_SITES= ftp://ftp.ethereal.com/pub/ethereal/ \ ftp://ftp.sunet.se/pub/network/monitoring/ethereal/ @@ -26,7 +24,7 @@ CONFIGURE_ARGS+= --with-gtk-prefix="${GTKDIR}" \ --with-ucdsnmp=${LOCALBASE} LIBS+= -lcrypto -PLIST_SUBST+= ETHEREAL_VERSION=${ETHEREAL_VERSION} +PLIST_SUBST+= PKGVERSION=${PKGNAME:S/ethereal-//} post-install: ${INSTALL_MAN} ${WRKSRC}/editcap.1 ${PREFIX}/man/man1 diff --git a/net/ethereal/pkg/PLIST b/net/ethereal/pkg/PLIST index 0637c78c857..b61331875bf 100644 --- a/net/ethereal/pkg/PLIST +++ b/net/ethereal/pkg/PLIST @@ -1,17 +1,17 @@ -@comment $NetBSD: PLIST,v 1.11 2000/11/29 04:02:01 mycroft Exp $ +@comment $NetBSD: PLIST,v 1.12 2001/06/30 23:55:56 tron Exp $ bin/editcap bin/ethereal bin/tethereal etc/manuf -lib/ethereal/plugins/${ETHEREAL_VERSION}/gryphon.la -lib/ethereal/plugins/${ETHEREAL_VERSION}/gryphon.a -lib/ethereal/plugins/${ETHEREAL_VERSION}/gryphon.so -lib/ethereal/plugins/${ETHEREAL_VERSION}/mgcp.la -lib/ethereal/plugins/${ETHEREAL_VERSION}/mgcp.a -lib/ethereal/plugins/${ETHEREAL_VERSION}/mgcp.so +lib/ethereal/plugins/${PKGVERSION}/gryphon.la +lib/ethereal/plugins/${PKGVERSION}/gryphon.a +lib/ethereal/plugins/${PKGVERSION}/gryphon.so +lib/ethereal/plugins/${PKGVERSION}/mgcp.la +lib/ethereal/plugins/${PKGVERSION}/mgcp.a +lib/ethereal/plugins/${PKGVERSION}/mgcp.so man/man1/editcap.1 man/man1/ethereal.1 man/man1/tethereal.1 -@dirrm lib/ethereal/plugins/${ETHEREAL_VERSION} +@dirrm lib/ethereal/plugins/${PKGVERSION} @dirrm lib/ethereal/plugins @dirrm lib/ethereal |