[111200] trunk/dports/science
ryandesign at macports.org
ryandesign at macports.org
Mon Sep 16 15:25:34 PDT 2013
Revision: 111200
https://trac.macports.org/changeset/111200
Author: ryandesign at macports.org
Date: 2013-09-16 15:25:33 -0700 (Mon, 16 Sep 2013)
Log Message:
-----------
avt: new port, version 0.2 (#40497)
Added Paths:
-----------
trunk/dports/science/avt/
trunk/dports/science/avt/Portfile
trunk/dports/science/avt/files/
trunk/dports/science/avt/files/patch-Makefile.diff
Added: trunk/dports/science/avt/Portfile
===================================================================
--- trunk/dports/science/avt/Portfile (rev 0)
+++ trunk/dports/science/avt/Portfile 2013-09-16 22:25:33 UTC (rev 111200)
@@ -0,0 +1,52 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name avt
+version 0.2
+categories science
+platforms darwin linux
+maintainers gmail.com:fernando.iazeolla
+license GPL-2+
+supported_archs noarch
+
+description Aviation Tools (metar, taf, decode airline, geo info)
+
+long_description Aviation Tools: \
+ \n* gets metar \
+ \n* gets taf \
+ \n* decode iata / icao airports \
+ \n* gets sunrise / sunset \
+ \n* gets geo info \
+ \n* decode airline codes \
+ \n* decode aircraft tail codes \
+ \n* decode aircraft names \
+
+homepage http://github.com/elboza/avt
+master_sites http://www.autistici.org/0xFE/software/releases/avt/
+
+checksums md5 aefca34db3fea738019dbfb402cf9f18 \
+ sha1 54fc9a0085dd0a372b2af81b7f3c60f042a85898 \
+ rmd160 1ba76e714eaa02246d40064574a35c3b3940ebb8
+
+worksrcdir ${name}
+
+set libdir ${prefix}/share/avt/
+
+patchfiles patch-Makefile.diff
+
+post-patch {
+ reinplace "s|/usr/share/avt/|${libdir}|g" ${worksrcpath}/avt.rb
+}
+
+use_configure no
+
+build {}
+
+destroot.destdir DEST_DIR=${destroot}${prefix}/bin/ \
+ LIB_DIR=${destroot}${libdir}
+
+livecheck.type regex
+livecheck.url [lindex ${master_sites} 0]
+livecheck.regex [suffix ${name}-(\[0-9.\]+)]
Property changes on: trunk/dports/science/avt/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/science/avt/files/patch-Makefile.diff
===================================================================
--- trunk/dports/science/avt/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/science/avt/files/patch-Makefile.diff 2013-09-16 22:25:33 UTC (rev 111200)
@@ -0,0 +1,11 @@
+--- Makefile.orig 2013-09-11 12:34:44.000000000 -0500
++++ Makefile 2013-09-16 17:23:45.000000000 -0500
+@@ -18,7 +18,7 @@
+ echo "installing ${PROG_NAME} to ${DEST_DIR}"
+ if [ ! -d ${LIB_DIR} ] ; then mkdir ${LIB_DIR} ; fi
+ cp ${SRC_NAME} ${DEST_DIR}
+- if [ ! -f ${DEST_DIR}${PROG_NAME} ] ; then ln -s ${DEST_DIR}${SRC_NAME} ${DEST_DIR}${PROG_NAME} ; fi
++ if [ ! -f ${DEST_DIR}${PROG_NAME} ] ; then ln -s ${SRC_NAME} ${DEST_DIR}${PROG_NAME} ; fi
+ chmod 755 ${DEST_DIR}${SRC_NAME}
+ cp ${AC_FILE} ${LIB_DIR}
+ cp ${GEO_FILE} ${LIB_DIR}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130916/048a2f75/attachment.html>
More information about the macports-changes
mailing list