[19441] trunk/dports/perl

source_changes at macosforge.org source_changes at macosforge.org
Thu Sep 7 20:43:33 PDT 2006


Revision: 19441
Author:   markd at macports.org
Date:     2006-09-07 20:43:31 -0700 (Thu, 07 Sep 2006)

Log Message:
-----------
Ticket 10037.  New port.

Added Paths:
-----------
    trunk/dports/perl/p5-net-dict/
    trunk/dports/perl/p5-net-dict/Portfile

Added: trunk/dports/perl/p5-net-dict/Portfile
===================================================================
--- trunk/dports/perl/p5-net-dict/Portfile	                        (rev 0)
+++ trunk/dports/perl/p5-net-dict/Portfile	2006-09-08 03:43:31 UTC (rev 19441)
@@ -0,0 +1,30 @@
+# $Id: Portfile 13083 2006-07-14 11:12:09Z lefevre $
+
+PortSystem 1.0
+PortGroup perl5 1.0
+
+perl5.setup		Net-Dict 2.07
+maintainers		vincent-opdarw at vinc17.org
+categories-append	textproc
+description		Simple client API for the DICT protocol
+long_description	Perl class implementing a simple client API for the \
+			DICT protocol defined in RFC2229
+checksums		md5 fb57f694455549861c3c602521162956 \
+			sha1 e96735711be9704b83f165470813bd23f1be7ca5
+platforms		darwin
+
+depends_lib-append	port:p5-appconfig-std port:p5-digest-md5
+configure.env		C_INCLUDE_PATH="${prefix}/include" \
+			LIBRARY_PATH="${prefix}/lib"
+
+# This variant avoids a conflict with the dict port, if one wishes
+# to install p5-net-dict together with the dict port. The user can
+# later add symbolic links in /usr/local or in his home directory
+# to choose which dict program if wishes to use.
+variant dict_altname {
+  post-destroot {
+	cd ${destroot}${prefix}
+	file rename bin/dict bin/dict.perl
+	file rename share/man/man1/dict.1 share/man/man1/dict.perl.1
+  }
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20060907/7d68bace/attachment.html


More information about the macports-changes mailing list