[115014] trunk/dports/net/nxcomp/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Dec 21 23:13:14 PST 2013
Revision: 115014
https://trac.macports.org/changeset/115014
Author: ryandesign at macports.org
Date: 2013-12-21 23:13:14 -0800 (Sat, 21 Dec 2013)
Log Message:
-----------
nxcomp: rearrange portfile slightly, putting dependencies into the relevant subport, adding explicit revision lines in each subport
Modified Paths:
--------------
trunk/dports/net/nxcomp/Portfile
Modified: trunk/dports/net/nxcomp/Portfile
===================================================================
--- trunk/dports/net/nxcomp/Portfile 2013-12-22 06:04:30 UTC (rev 115013)
+++ trunk/dports/net/nxcomp/Portfile 2013-12-22 07:13:14 UTC (rev 115014)
@@ -27,29 +27,39 @@
depends_build port:makedepend
-depends_lib port:libpng \
- port:jpeg \
- port:zlib \
- port:xorg-xproto
-
use_autoreconf yes
configure.cxxflags-append \
-I${prefix}/include
-subport nxcomp {
+if {${name} eq ${subport}} {
+ revision 0
+
+ depends_lib-append port:libpng \
+ port:jpeg \
+ port:zlib \
+ port:xorg-xproto
+
worksrcdir nx-libs-${version}/nxcomp
patchfiles patch-nxcomp__configure.in.diff \
patch-nxcomp__Makefile.in.diff \
patch-nxcomp__Types.h-dont-use-STL-internals-on-libc++.diff
+
+ livecheck.url [lindex ${master_sites} 0]
+ livecheck.regex nx-libs-(\[0-9\]+(\\.\[0-9\]+)+(-\[0-9\]+)?)-lite
+} else {
+ livecheck.type none
}
subport nxproxy {
+ revision 0
description nxproxy is a compressing proxy for X
long_description nxproxy is a library compressing X commands to be passed over network \
for use with x2go.
+ depends_lib-append port:nxcomp
+
worksrcdir nx-libs-${version}/nxproxy
patchfiles patch-nxproxy__configure.in.diff \
@@ -57,11 +67,4 @@
configure.ldflags-append \
-L${prefix}/lib/nx
-
- depends_lib port:nxcomp
-
- livecheck.type none
}
-
-livecheck.url ${master_sites}
-livecheck.regex nx-libs-(\[0-9\]+(\\.\[0-9\]+)+(-\[0-9\]+)?)-lite
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131221/8df1d5b4/attachment-0001.html>
More information about the macports-changes
mailing list