[32569] trunk/dports/perl

ricci at macports.org ricci at macports.org
Mon Jan 7 18:39:33 PST 2008


Revision: 32569
          http://trac.macosforge.org/projects/macports/changeset/32569
Author:   ricci at macports.org
Date:     2008-01-07 18:39:32 -0800 (Mon, 07 Jan 2008)

Log Message:
-----------
new port

Added Paths:
-----------
    trunk/dports/perl/p5-file-libmagic/
    trunk/dports/perl/p5-file-libmagic/Portfile
    trunk/dports/perl/p5-file-libmagic/files/
    trunk/dports/perl/p5-file-libmagic/files/patch-Makefile.PL.diff

Added: trunk/dports/perl/p5-file-libmagic/Portfile
===================================================================
--- trunk/dports/perl/p5-file-libmagic/Portfile	                        (rev 0)
+++ trunk/dports/perl/p5-file-libmagic/Portfile	2008-01-08 02:39:32 UTC (rev 32569)
@@ -0,0 +1,25 @@
+# $Id$
+
+PortSystem		1.0
+
+PortGroup		perl5 1.0
+
+version			0.85
+perl5.setup		File-LibMagic ${version}
+distfiles		File-LibMagic-${version}.tgz
+revision		0
+maintainers		ricci
+description		Perl wrapper for libmagic
+long_description	${description}
+
+checksums		md5 037150b3131a566b518a7042f9a8d527
+platforms		darwin
+
+depends_lib		port:file
+
+
+patchfiles		patch-Makefile.PL.diff
+
+post-patch	{
+	reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Makefile.PL
+}


Property changes on: trunk/dports/perl/p5-file-libmagic/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: trunk/dports/perl/p5-file-libmagic/files/patch-Makefile.PL.diff
===================================================================
--- trunk/dports/perl/p5-file-libmagic/files/patch-Makefile.PL.diff	                        (rev 0)
+++ trunk/dports/perl/p5-file-libmagic/files/patch-Makefile.PL.diff	2008-01-08 02:39:32 UTC (rev 32569)
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig	2008-01-04 16:13:06.000000000 -0800
++++ Makefile.PL	2008-01-04 16:15:50.000000000 -0800
+@@ -12,7 +12,7 @@
+     'PREREQ_PM'		=> {}, # e.g., Module::Name => 1.1
+     'ABSTRACT_FROM'     => 'LibMagic.pm', # retrieve abstract from module
+     'AUTHOR'            => 'Andreas Fitzner <fitzner at informatik.hu-berlin.de>',
+-    'LIBS'		=> ['-lmagic'], # e.g., '-lm'
++    'LIBS'		=> ["-L__PREFIX__/lib -lmagic"], # e.g., '-lm'
+     'DEFINE'		=> '', # e.g., '-DHAVE_SOMETHING'
+     'INC'		=> '-I.', # e.g., '-I. -I/usr/include/other'
+ 	# Un-comment this if you add C files to link with later:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080107/58b3b392/attachment-0001.html


More information about the macports-changes mailing list