Skip to content
Permalink
Browse files

destroot

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@1939 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Michael Maibaum
Michael Maibaum committed Feb 2, 2003
1 parent 206a3df commit f322aca565c5344a46715a5ed43712c4dbf6823e
Showing with 8 additions and 16 deletions.
  1. +0 −8 graphics/libmng/Portfile
  2. +4 −6 graphics/pict2pdf/Portfile
  3. +4 −2 graphics/pngcrush/Portfile
@@ -21,11 +21,3 @@ depends_lib lib:libjpeg:jpeg lib:liblcms:lcms
patchfiles patch-libmng_types.h
configure.args --with-jpeg=${prefix} --with-lcms=${prefix}

contents include/libmng.h \
include/libmng_conf.h \
include/libmng_types.h \
lib/libmng.1.0.0.dylib \
lib/libmng.1.dylib \
lib/libmng.a \
lib/libmng.dylib \
lib/libmng.la
@@ -14,11 +14,9 @@ configure {}
build.args PREFIX=${prefix}

install { cd ${worksrcpath}
system "install -o root -m 755 -d ${prefix}/bin"
system "install -o root -m 755 -d ${prefix}/man/man1"
system "install -o root -m 755 -c pict2pdf ${prefix}/bin"
system "install -o root -m 755 -d ${destroot}${prefix}/bin"
system "install -o root -m 755 -d ${destroot}${prefix}/man/man1"
system "install -o root -m 755 -c pict2pdf ${destroot}${prefix}/bin"
system "install -o root -m 644 -c pict2pdf.1 \
${prefix}/man/man1" }
${destroot}${prefix}/man/man1" }

contents bin/pict2pdf \
man/man1/pict2pdf.1
@@ -24,6 +24,8 @@ checksums md5 6118ef30738095223c2c01500cf04519

configure {}
build { system "cd '${worksrcpath}' && make -f Makefile.gcc" }
install { system "cd '${worksrcpath}' && install '${name}' '${prefix}'/bin" }
install { system "cd '${worksrcpath}' && \
install -d '${destroot}${prefix}/bin' && \
install '${name}' '${destroot}${prefix}/bin'"
}

contents bin/pngcrush

0 comments on commit f322aca

Please sign in to comment.
You can’t perform that action at this time.