source: trunk/base/tests/test/dependencies-d/Portfile @ 41526

Last change on this file since 41526 was 41526, checked in by pguyot@…, 9 years ago

Handle new syntax for dependencies, to allow work for dependencies to happen on trunk/ where ports lie, while base/ is frozen for most users (cf bug #126)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 744 bytes
Line 
1# $Id: Portfile 41526 2008-11-05 13:45:07Z pguyot@kallisys.net $
2
3PortSystem 1.0
4name            dependencies-d
5version         1
6categories      test
7maintainers     pguyot@kallisys.net
8description     Test port for dependencies
9homepage        http://www.macports.org/
10platforms       darwin
11
12long_description ${description}
13
14fetch           {}
15checksum        {}
16extract         {}
17configure       {}
18build           {}
19destroot        {
20        system "touch ${destroot}${prefix}/lib/${name}"
21}
22
23# Check that macports doesn't chunk on this junk.
24# This might mean this port depends on port dependencies-a without variant
25# i_want_b (which is a default variant).
26depends_lib     port:-i_want_b:dependencies-a
27
28# Check that macports doesn't chunk on this junk, but just generates a warning.
29depends {configure {dependencies-a +i_want_b >= 1}}
30
31test {
32# testing consists in processing dependencies
33}
Note: See TracBrowser for help on using the repository browser.