[124896] trunk/dports/games/angband/Portfile

khindenburg at macports.org khindenburg at macports.org
Sat Aug 30 07:02:01 PDT 2014


Revision: 124896
          https://trac.macports.org/changeset/124896
Author:   khindenburg at macports.org
Date:     2014-08-30 07:02:01 -0700 (Sat, 30 Aug 2014)
Log Message:
-----------
angband: re-enable +aqua - appears to work for at least the ascii graphics

Modified Paths:
--------------
    trunk/dports/games/angband/Portfile

Modified: trunk/dports/games/angband/Portfile
===================================================================
--- trunk/dports/games/angband/Portfile	2014-08-30 13:58:23 UTC (rev 124895)
+++ trunk/dports/games/angband/Portfile	2014-08-30 14:02:01 UTC (rev 124896)
@@ -49,28 +49,15 @@
     configure.args-append --with-x
 }
 
-# variant aqua        {
-#                          distfiles-append ext-mac-306.zip:mac ext-graf-mac-306.zip:mac ext-sound-mac-306.zip:mac
-#                          checksums-append ext-mac-306.zip md5 e8989e1c4acf9efb10e0ab078e7303f2 \
-#                                           ext-graf-mac-306.zip md5 263d33545a8be198a4a014c73f581035 \
-#                                           ext-sound-mac-306.zip md5 7886ff8cd9ac98bdfec50c50131c406e
-#
-#                          post-extract {
-#                                          system "unzip ${distpath}/ext-mac-306.zip -d ${worksrcpath}/src/; \
-#                                                  unzip ${distpath}/ext-graf-mac-306.zip -d ${worksrcpath}/src/; \
-#                                                  unzip ${distpath}/ext-sound-mac-306.zip -d ${worksrcpath}/src/"
-#                                       }
-#
-#                          configure { reinplace "s|# define SET_UID||" ${worksrcpath}/src/h-config.h }
-#
-#                          build {
-#                                     cd ${worksrcpath}/src
-#                                     system "make -f Makefile.osx; \
-#                                             make -f Makefile.osx install-tiles; \
-#                                             make -f Makefile.osx install-sound"
-#                                }
-#
-#                          destroot { xinstall -d ${destroot}/Applications/MacPorts/
-#                          system "cp -r ${worksrcpath}/Angband.app ${destroot}/Applications/MacPorts/." }
-#                     }
+variant aqua description {Build the Cocoa front-end} {
+    depends_build-append  port:cctools
+    build {
+        system -W ${worksrcpath}/src "make -f Makefile.osx"
+    }
 
+    destroot {
+         xinstall -d ${destroot}/Applications/MacPorts/
+         system "cp -r ${worksrcpath}/Angband.app ${destroot}/Applications/MacPorts/." }
+         xinstall -d ${destroot}/Applications/MacPorts/Resources/lib/info
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140830/43334e23/attachment.html>


More information about the macports-changes mailing list