source: trunk/dports/archivers/bzip2/Portfile @ 32257

Last change on this file since 32257 was 32257, checked in by ryandesign@…, 13 years ago

All openmaintainer ports: ${prefix} already begins with a slash,
so there's no reason to put a slash before the ${prefix} variable
when using it.

See r32256 for the equivalent change for nomaintainer ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 32257 2007-12-23 09:39:21Z ryandesign@macports.org $
2
3PortSystem 1.0
4name            bzip2
5version         1.0.4
6revision        1
7platforms       darwin freebsd linux sunos
8categories      sysutils archivers
9maintainers     ryandesign openmaintainer
10description     bzip2 compression library and tools
11
12homepage        http://www.bzip.org/
13master_sites    http://www.bzip.org/${version}/
14checksums       md5 fc310b254f6ba5fbb5da018f04533688 \
15                sha1 f2388ec8f2c506e02aa89e67577b3c6331cbaa4c \
16                rmd160 438365cb911ef84b3bd6643e0d39f6b7567f0447
17patchfiles      patch-Makefile-man.diff \
18                patch-Makefile-links.diff
19
20platform darwin {
21        patchfiles-append               patch-Makefile-dylib.diff
22}
23
24platform freebsd {
25        patchfiles-append               patch-Makefile-so.diff
26}
27
28platform linux {
29        patchfiles-append               patch-Makefile-so.diff
30}
31
32platform sunos {
33        patchfiles-append               patch-Makefile-so.diff
34}
35
36platform darwin 7 {
37    build.env       DYLD_LIBRARY_PATH="${worksrcpath}"
38}
39
40use_configure       no
41build.args          PREFIX="${prefix}"
42destroot.destdir    PREFIX="${destroot}${prefix}"
43
44variant universal {
45        build.args-append \
46                CC="gcc ${configure.universal_cflags}"
47}
Note: See TracBrowser for help on using the repository browser.