[82911] trunk/dports/comms/malsync/Portfile

jmr at macports.org jmr at macports.org
Sun Aug 21 17:12:14 PDT 2011


Revision: 82911
          http://trac.macports.org/changeset/82911
Author:   jmr at macports.org
Date:     2011-08-21 17:12:13 -0700 (Sun, 21 Aug 2011)
Log Message:
-----------
malsync: make sure build happens in worksrcpath

Modified Paths:
--------------
    trunk/dports/comms/malsync/Portfile

Modified: trunk/dports/comms/malsync/Portfile
===================================================================
--- trunk/dports/comms/malsync/Portfile	2011-08-22 00:06:45 UTC (rev 82910)
+++ trunk/dports/comms/malsync/Portfile	2011-08-22 00:12:13 UTC (rev 82911)
@@ -1,5 +1,7 @@
 # $Id$
+
 PortSystem 1.0
+
 name		malsync
 version		2.2.0
 # not a great match; FreeBSD has a "palm" category but we don't yet
@@ -9,15 +11,15 @@
 homepage	http://www.tomw.org/malsync/
 master_sites	http://www.tomw.org/malsync/ netbsd:packages/distfiles
 checksums	md5 d1c41526b91bb38c21a4ced01d26328c
-distfiles	${name}_${version}.src.tar.gz
-worksrcdir	malsync
+distname	${name}_${version}.src
+worksrcdir	${name}
 description	AvantGo.com palm pilot synchronization utility
 depends_lib	lib:pisock.8:pilot-link
 patchfiles	malsync.patch
 long_description MalSync is a command line tool that allows Palm \
  Pilots to synchronize to the AvantGo.com server.
-configure	{}
-build		{ system "make PREFIX=${prefix}" }
+use_configure	no
+build		{ system -W ${worksrcpath} "${build.cmd} PREFIX=${prefix}" }
 destroot	{
  xinstall -m 755 ${worksrcpath}/malsync ${destroot}${prefix}/bin
  set docdst "${destroot}${prefix}/share/doc/malsync"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110821/983f53d4/attachment.html>


More information about the macports-changes mailing list