aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Net-Dict
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-05-12 08:14:08 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-05-12 08:14:08 +0000
commite1a8bf755e02637d1dcb3c8770f5fa6e22451d57 (patch)
tree6d6cc111cee393c77a3ab4f80f37e2683e4be09d /net/p5-Net-Dict
parent7b3f5df25bd6541c53817b52b7c5e8cfc41ff339 (diff)
downloadports-e1a8bf755e02637d1dcb3c8770f5fa6e22451d57.tar.gz
ports-e1a8bf755e02637d1dcb3c8770f5fa6e22451d57.zip
Notes
Diffstat (limited to 'net/p5-Net-Dict')
-rw-r--r--net/p5-Net-Dict/Makefile15
-rw-r--r--net/p5-Net-Dict/distinfo2
-rw-r--r--net/p5-Net-Dict/pkg-descr3
-rw-r--r--net/p5-Net-Dict/pkg-plist14
4 files changed, 12 insertions, 22 deletions
diff --git a/net/p5-Net-Dict/Makefile b/net/p5-Net-Dict/Makefile
index a28abd318382..6b02ea187cc4 100644
--- a/net/p5-Net-Dict/Makefile
+++ b/net/p5-Net-Dict/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Net-Dict
-PORTVERSION= 2.06
+PORTVERSION= 2.07
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
@@ -15,19 +15,14 @@ PKGNAMEPREFIX= p5-
MAINTAINER= fuyuki@hadaly.org
COMMENT= A simple client API for the DICT protocol
-RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/Cmd.pm:${PORTSDIR}/net/p5-Net
-# if you want to run dict(1):
-#RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/AppConfig/Std.pm:${PORTSDIR}/devel/p5-AppConfig-Std
-# if you want to run tkdict(1) too:
-#RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
+BUILD_DEPENDS= ${SITE_PERL}/Net/Cmd.pm:${PORTSDIR}/net/p5-Net
+RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-
-MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-MAN1= dict.1 tkdict.1
MAN3= Net::Dict.3
post-patch:
- ${PERL} -pi -e 's/^&configure.*$$//' ${WRKSRC}/Makefile.PL
+ ${PERL} -pi -e '$$_="" if /(&configure|EXE_FILES)/' \
+ ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>
diff --git a/net/p5-Net-Dict/distinfo b/net/p5-Net-Dict/distinfo
index 64ebed261aba..d56e490d1b5c 100644
--- a/net/p5-Net-Dict/distinfo
+++ b/net/p5-Net-Dict/distinfo
@@ -1 +1 @@
-MD5 (Net-Dict-2.06.tar.gz) = 69861c93e5b56f5e9c7e0952c6b2bbe6
+MD5 (Net-Dict-2.07.tar.gz) = fb57f694455549861c3c602521162956
diff --git a/net/p5-Net-Dict/pkg-descr b/net/p5-Net-Dict/pkg-descr
index 4318e940d125..807b25cccf56 100644
--- a/net/p5-Net-Dict/pkg-descr
+++ b/net/p5-Net-Dict/pkg-descr
@@ -3,6 +3,3 @@ on network dictionary servers. Net::Dict provides a simple DICT
client API for the network protocol described in RFC2229.
WWW: http://search.cpan.org/search?dist=Net-Dict
-
-- Kimura Fuyuki
-fuyuki@hadaly.org
diff --git a/net/p5-Net-Dict/pkg-plist b/net/p5-Net-Dict/pkg-plist
index 1727ecaded0d..9fb70754470d 100644
--- a/net/p5-Net-Dict/pkg-plist
+++ b/net/p5-Net-Dict/pkg-plist
@@ -1,8 +1,6 @@
-bin/dict
-bin/tkdict
-lib/perl5/site_perl/%%PERL_VER%%/Net/Dict.pm
-lib/perl5/site_perl/%%PERL_VER%%/Net/Dict.pod
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Dict/.packlist
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Net 2>/dev/null || true
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Dict
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
+%%SITE_PERL%%/Net/Dict.pm
+%%SITE_PERL%%/Net/Dict.pod
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Dict/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/Net 2>/dev/null || true
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Dict
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true