[80266] trunk/dports/graphics/jpeg6b/Portfile
takeshi at macports.org
takeshi at macports.org
Fri Jul 8 00:52:18 PDT 2011
Revision: 80266
http://trac.macports.org/changeset/80266
Author: takeshi at macports.org
Date: 2011-07-08 00:52:17 -0700 (Fri, 08 Jul 2011)
Log Message:
-----------
jpeg6b: more work to make this port replaced.
Modified Paths:
--------------
trunk/dports/graphics/jpeg6b/Portfile
Modified: trunk/dports/graphics/jpeg6b/Portfile
===================================================================
--- trunk/dports/graphics/jpeg6b/Portfile 2011-07-08 06:54:53 UTC (rev 80265)
+++ trunk/dports/graphics/jpeg6b/Portfile 2011-07-08 07:52:17 UTC (rev 80266)
@@ -5,6 +5,7 @@
set realname jpeg
version 6b
+revision 1
name ${realname}${version}
categories graphics
@@ -24,45 +25,12 @@
homepage http://www.ijg.org/
platforms darwin freebsd sunos
-master_sites http://distfiles.macports.org/${realname}/
-distname ${realname}src.v${version}
-worksrcdir ${realname}-${version}
-set jpegmain ${distname}${extract.suffix}
-distfiles ${jpegmain} \
- droppatch.tar.gz:drop
-dist_subdir ${realname}
+distfiles
-checksums ${jpegmain} md5 dbd5f3b47ed13132f04c685d608a7547 \
- droppatch.tar.gz md5 511c39779ac96cd41ca1e0a87b239287
-extract.only ${jpegmain}
-
-patchfiles patch-config.sub patch-config.guess patch-ltmain.sh \
- patch-ltconfig patch-makefile.cfg patch-jpeglib.h
-post-patch {
- system "cd ${worksrcpath} &&
- tar zxf ${distpath}/droppatch.tar.gz"
-
- # Reorder link flags so that so that local -L options come first (especially before -L${prefix}/lib)
- # (see http://trac.macports.org/ticket/16411).
- reinplace {s|\(.*\)\($(LDFLAGS)\)\(.*\)\($(LDLIBS)\)\(.*\)|\1\4\3\2\5|} ${worksrcpath}/makefile.cfg
-
- # As in the case of -L, CPPFLAGS come before -I. during compilation.
- configure.cppflags-append -isystem${prefix}/include
- configure.cppflags-delete -I${prefix}/include
+pre-configure {
+ ui_error "${name} has been renamed to ${replaced_by}. Please install ${replaced_by} instead."
+ return -code error "obsolete port"
}
-configure.args --prefix=${prefix}/lib/${name} --enable-shared --enable-static
-if {![variant_isset universal]} {
- configure.ldflags-append ${configure.cc_archflags}
-}
-
-use_parallel_build yes
-
-destroot.destdir prefix=${destroot}${prefix}/lib/${name}
-pre-destroot {
- xinstall -d ${destroot}${prefix}/lib/${name}/bin
- xinstall -d ${destroot}${prefix}/lib/${name}/share/man/man1
- xinstall -d ${destroot}${prefix}/lib/${name}/include
- xinstall -d ${destroot}${prefix}/lib/${name}/lib
-}
+livecheck.type none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110708/9dcc0a80/attachment.html>
More information about the macports-changes
mailing list