[144672] trunk/dports/editors/hnb/Portfile

css at macports.org css at macports.org
Thu Jan 14 19:14:13 PST 2016


Revision: 144672
          https://trac.macports.org/changeset/144672
Author:   css at macports.org
Date:     2016-01-14 19:14:13 -0800 (Thu, 14 Jan 2016)
Log Message:
-----------
hnb: build 32-bit only with some manual munging of the CFLAGS. Also added ncurses dependency. refs #42239

Modified Paths:
--------------
    trunk/dports/editors/hnb/Portfile

Modified: trunk/dports/editors/hnb/Portfile
===================================================================
--- trunk/dports/editors/hnb/Portfile	2016-01-15 02:10:40 UTC (rev 144671)
+++ trunk/dports/editors/hnb/Portfile	2016-01-15 03:14:13 UTC (rev 144672)
@@ -3,6 +3,7 @@
 PortSystem 1.0
 name			hnb
 version			1.9.18
+revision		1
 categories		editors
 maintainers		css
 
@@ -15,9 +16,21 @@
 
 platforms		darwin
 homepage		http://hnb.sourceforge.net/
+license			GPL-2
 master_sites		${homepage}.files/
 checksums		md5 702867cb3f94936790493eb948c36412
+
+supported_archs		i386 ppc
+universal_variant	no
+depends_lib		port:ncurses
+
 use_configure		no
+build.args		CC=${configure.cc} \
+			CFLAGS="${configure.cflags} \
+			-DHAVE_CONFIG_H -I${worksrcpath} \
+			-I${worksrcpath}/src/libcli \
+			[get_canonical_archflags cc]"
+
 build.target		
 
 destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160114/7e60eb5a/attachment.html>


More information about the macports-changes mailing list