Skip to content

Commit

Permalink
clean up portfiles:
Browse files Browse the repository at this point in the history
 * replace "portversion"  with "version"
 * replace "portname"     with "name"
 * replace "configure {}" with "use_configure no"

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@23053 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Elias Pipping committed Mar 23, 2007
1 parent fd52bdb commit c9382e0
Show file tree
Hide file tree
Showing 194 changed files with 270 additions and 270 deletions.
2 changes: 1 addition & 1 deletion aqua/JHymn/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ distname [regsub -all {[\.-]} ${distname} _]_source
use_zip yes
checksums md5 d0a0ef88e504cab658692f21ae1fb8a4
worksrcdir ${name}
configure {}
use_configure no
depends_build bin:faad:faad2 \
bin:lame:lame
pre-build { xinstall "[binaryInPath faad]" "[binaryInPath lame]" \
Expand Down
2 changes: 1 addition & 1 deletion aqua/binclocken/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ distname BinClockenSource
use_zip yes
checksums md5 a8d06a4de474e502dd85f04dbe441611

configure {}
use_configure no

build.type pbx
build.target
Expand Down
2 changes: 1 addition & 1 deletion aqua/istumbler/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ variant use_binary conflicts use_source {
distname ${name}-${version}
checksums md5 23eb2b3621c2bbc0ce3884faa5117f31
patch {}
configure {}
use_configure no
build {}
destroot {
file mkdir ${destroot}/Applications/MacPorts
Expand Down
2 changes: 1 addition & 1 deletion aqua/launch/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ platforms darwin
master_sites ${homepage}
checksums md5 0c9f963701cdbe3272e2634cc3693b0d

configure {}
use_configure no

build.type pbx
build.args -buildstyle Deployment
Expand Down
2 changes: 1 addition & 1 deletion aqua/mkconsole/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ checksums md5 1fb642b625d3009573d8de1f5d60a6a5

worksrcdir MkConsole

configure {}
use_configure no

build.type pbx
build.target -project MkConsole.xcode
Expand Down
2 changes: 1 addition & 1 deletion aqua/openvanilla/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ master_sites sourceforge
distname OpenVanilla-OSX-Source-${version}
build.args CFLAGS+=-F../../Loaders/OSX/
checksums md5 e8619d6c96a140c78dd22bbd71764a59
configure {}
use_configure no
destroot.destdir DSTROOT=${destroot}
2 changes: 1 addition & 1 deletion aqua/pgAdmin3/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ homepage http://www.pgadmin.org/
master_sites http://developer.pgadmin.org/ftp/release/v${version}/src/ \
http://www.postgresql.org/ftp/pgadmin3/release/v${version}/src/

distname pgadmin3-${portversion}
distname pgadmin3-${version}

checksums ${distname}${extract.suffix} sha1 e39ef29c18aad01fd68847a1d9e6b03c882d9fa9

Expand Down
2 changes: 1 addition & 1 deletion aqua/qt3-mac/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ variant ipv6 {
configure.cmd "echo yes | ./configure"
configure.env QMAKESPEC='' QTDIR='' DYLD_LIBRARY_PATH=''
configure.args -v -prefix '${prefix}' \
-docdir '${prefix}/share/doc/${portname}/html' \
-docdir '${prefix}/share/doc/${name}/html' \
-datadir '${prefix}/share/qt3' \
-headerdir '${prefix}/include/qt3' \
-plugindir '${prefix}/lib/qt3-plugins' \
Expand Down
2 changes: 1 addition & 1 deletion archivers/9e/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ checksums md5 ffb6c9963c6bb61ddfc456fd29f96073

patchfiles patch-9e.c

configure {}
use_configure no

build.args CFLAGS= LIBS=

Expand Down
2 changes: 1 addition & 1 deletion archivers/pbzip2/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ post-patch {

depends_lib port:bzip2

configure {}
use_configure no

destroot.destdir PREFIX=${destroot}${prefix}
2 changes: 1 addition & 1 deletion archivers/unzip/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ homepage http://www.info-zip.org/pub/infozip/UnZip.html
description Decompression compatible with pkunzip
distname ${name}552
worksrcdir ${name}-${version}
configure {}
use_configure no
build.target
build.args -f unix/Makefile macosx MANDIR=${destroot}${prefix}/share/man/man1
destroot.args -f unix/Makefile install BINDIR=${destroot}${prefix}/bin \
Expand Down
2 changes: 1 addition & 1 deletion audio/alac_decoder/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ checksums md5 f554fc11ee41a30bc5baf15a0fd07256

worksrcdir ${name}

configure {}
use_configure no

build.target

Expand Down
4 changes: 2 additions & 2 deletions audio/bladeenc/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ long_description Blade's MP3 Encoder (BladeEnc) is a freeware MP3 encoder. It is
homepage http://bladeenc.mp3.no/
platforms darwin freebsd
master_sites http://bladeenc.mp3.no/source/ http://www.physik.TU-Berlin.DE/~ibex/ports/distfiles/
distname ${portname}-${portversion}-src-stable
distname ${name}-${version}-src-stable
checksums md5 9b9f6eafe1637a48a67f0a0f8f6e71ad
worksrcdir ${portname}-${portversion}
worksrcdir ${name}-${version}
extract.post_args | pax -s@bladeenc-0.94.2/other_makefiles/BladeEnc..@@p -r
patchfiles patch-system.h
2 changes: 1 addition & 1 deletion audio/daapd/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ destroot {
xinstall -m 644 ${worksrcpath}/daapd.8 ${destroot}/${prefix}/share/man/man8/
}

configure {}
use_configure no
2 changes: 1 addition & 1 deletion audio/flac2mp3/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ checksums sha1 7818bb421dec92071f19958b9f5d668e91730e31
extract.suffix .pl

extract {}
configure {}
use_configure no
build {}
destroot {
xinstall ${distpath}/${name}${extract.suffix} ${destroot}${prefix}/bin
Expand Down
2 changes: 1 addition & 1 deletion audio/mp3_check/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ patch {
reinplace "s| -Werror||" ${worksrcpath}/Makefile
}

configure {}
use_configure no

destroot {
xinstall -m 555 ${worksrcpath}/mp3_check \
Expand Down
2 changes: 1 addition & 1 deletion audio/poc/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ post-patch {
${worksrcpath}/Makefile
}

configure {}
use_configure no

build.target servers clients

Expand Down
4 changes: 2 additions & 2 deletions audio/shntool/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ post-patch { reinplace "s|$\(bindir)/shn|${destroot}${prefix}/bin/shn|g" \
reinplace "s|$\(bindir)/shn|${destroot}${prefix}/bin/shn|g" \
"${worksrcpath}/src/Makefile.am" }

post-destroot { system "install -m 755 -d ${destroot}${prefix}/share/doc/${portname}"
post-destroot { system "install -m 755 -d ${destroot}${prefix}/share/doc/${name}"
system "install -m 644 ${worksrcpath}/doc/* \
${destroot}${prefix}/share/doc/${portname}/" }
${destroot}${prefix}/share/doc/${name}/" }
2 changes: 1 addition & 1 deletion benchmarks/forkbomb/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ patch {
reinplace s|/man|/share/man| ${worksrcpath}/Makefile
}

configure {}
use_configure no

destroot.destdir DESTDIR=${destroot} PREFIX=${prefix}
2 changes: 1 addition & 1 deletion benchmarks/pipebench/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ patch {
reinplace s|man/man1|share/man/man1| ${worksrcpath}/Makefile
}

configure {}
use_configure no

destroot.destdir
2 changes: 1 addition & 1 deletion comms/scud/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ platforms darwin freebsd
master_sites ${homepage}/downloads/
checksums md5 c49f6f8b65ff5a2dbd4316d67da08398
patchfiles patch-Makefile
configure {}
use_configure no
build.type bsd
build.args PREFIX=${prefix}
destroot.destdir PREFIX=${destroot}${prefix}
2 changes: 1 addition & 1 deletion cross/i386-mingw32-runtime/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pre-extract {
}

# Nothing to configure
configure {}
use_configure no

# Nothing to build
build {}
Expand Down
2 changes: 1 addition & 1 deletion cross/i386-mingw32-w32api/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pre-extract {
}

# Nothing to configure
configure {}
use_configure no

# Nothing to build
build {}
Expand Down
2 changes: 1 addition & 1 deletion databases/db3/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description The Berkeley DB package, revision 3
homepage http://www.sleepycat.com/update/
platforms darwin freebsd
master_sites http://download.oracle.com/berkeley-db/
distname db-${portversion}
distname db-${version}
checksums md5 b6ae24fa55713f17a9ac3219d987722c
patchfiles patch-db.h patch-db185_ext.in patch-db185_uext.in \
patch-db185.c patch-db185_int.in patch-mutex.h \
Expand Down
2 changes: 1 addition & 1 deletion databases/db4/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description The Berkely DB package, revision 4
homepage http://www.sleepycat.com/update/
platforms darwin freebsd sunos
master_sites http://downloads.sleepycat.com/ freebsd
distname db-${portversion}
distname db-${version}
dist_subdir db4/${version}
checksums sha1 49c31bb12144e3a8fb8b7f64e7bf989b72f2981a
worksrcdir ${distname}/build_unix
Expand Down
2 changes: 1 addition & 1 deletion databases/db41/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ patch_sites http://www.oracle.com/technology/products/berkeley-db/db/update/${v
patchfiles patch.${version}.1 \
patch.${version}.2 \
patch.${version}.3
distname db-${portversion}
distname db-${version}
patch.dir ${workpath}/${distname}
dist_subdir db4
checksums ${distname}${extract.suffix} sha1 1c595d43c062cd340f430cb051c7d6a106ad5191 \
Expand Down
2 changes: 1 addition & 1 deletion databases/db42/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ long_description \

homepage http://www.sleepycat.com/update/
master_sites http://downloads.sleepycat.com/
distname db-${portversion}
distname db-${version}
dist_subdir db4
checksums sha1 a7eae0ce16dd12d030c2843e14a84a37881ec4b1

Expand Down
2 changes: 1 addition & 1 deletion databases/db43/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ homepage http://www.sleepycat.com/update/
master_sites http://downloads.sleepycat.com/
patch_sites http://www.oracle.com/technology/products/berkeley-db/db/update/${version}/
patchfiles patch.${version}.1
distname db-${portversion}
distname db-${version}
patch.dir ${workpath}/${distname}
dist_subdir db4
checksums ${distname}${extract.suffix} \
Expand Down
2 changes: 1 addition & 1 deletion databases/db44/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ patchfiles patch.${version}.1 \
patch.${version}.2 \
patch.${version}.3 \
patch.${version}.4
distname db-${portversion}
distname db-${version}
patch.dir ${workpath}/${distname}
dist_subdir db4
checksums ${distname}${extract.suffix} \
Expand Down
2 changes: 1 addition & 1 deletion databases/db45/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ master_sites http://download-west.oracle.com/berkeley-db/ \
patch_sites http://www.oracle.com/technology/products/berkeley-db/db/update/${version}/
patchfiles patch.${version}.1 \
patch.${version}.2
distname db-${portversion}
distname db-${version}
patch.dir ${workpath}/${distname}
dist_subdir db4
checksums ${distname}${extract.suffix} \
Expand Down
2 changes: 1 addition & 1 deletion databases/gdbm/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ long_description \
homepage http://www.gnu.org/software/gdbm/gdbm.html
platforms darwin freebsd
master_sites gnu
distname ${portname}-${portversion}
distname ${name}-${version}
checksums md5 1d1b1d5c0245b1c00aff92da751e9aa1
patchfiles patch-Makefile.in
configure.args --mandir=\\\${prefix}/share/man --infodir=\\\${prefix}/share/info
Expand Down
2 changes: 1 addition & 1 deletion databases/postgresql/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ long_description PostgreSQL is Object-Relational Database Management System. \

homepage http://www.postgresql.org/
platforms darwin
set subdir source/v${portversion}
set subdir source/v${version}
master_sites postgresql:source/v${version}

checksums sha1 fd4e1db4fa3bf1a22d0596337cb1456389ca03e0
Expand Down
4 changes: 2 additions & 2 deletions devel/caml-findlib/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ post-destroot {
# make a turd file so the directory doesn't get pruned when installing
# I suppose I don't actually know if it prunes before or after this phase
# but better to be safe than sorry
close [open ${destroot}${ocamlfind_destdir}/.turd_${portname} w]
close [open ${destroot}${ocamlfind_destdir}/.turd_${name} w]
}

post-activate {
Expand All @@ -66,7 +66,7 @@ post-activate {
}
if {!$has_line} {
ui_msg "## Adding line `${ocamlfind_destdir}' to file ${ldconfpath}"
ui_msg "## Be sure to remove this line if you uninstall ${portname}"
ui_msg "## Be sure to remove this line if you uninstall ${name}"
puts $ldconf $ocamlfind_destdir
}
close $ldconf
Expand Down
2 changes: 1 addition & 1 deletion devel/caml-menhir/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ checksums md5 773b4fc5ef62775b5a98e175e8f102e0 \
depends_lib port:caml-findlib \
port:ocaml

configure {}
use_configure no

destroot.env PREFIX=${destroot}${prefix}
2 changes: 1 addition & 1 deletion devel/caml-pcre/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ depends_lib bin:caml4p:ocaml bin:ocamlfind:caml-findlib lib:pcre:pcre

patchfiles patch-OCamlMakefile patch-Makefile.conf

configure {}
configure no

proc ocamlfind_destdir {} {
# only bother calculating this darn thing once
Expand Down
2 changes: 1 addition & 1 deletion devel/cogito/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ long_description The git core, developed by Linus Torvalds, provides \
homepage http://kernel.org/pub/software/scm/cogito/
master_sites http://kernel.org/pub/software/scm/cogito/
use_bzip2 yes
configure {}
use_configure no
depends_lib port:coreutils \
port:zlib \
port:git-core
Expand Down
2 changes: 1 addition & 1 deletion devel/fbopenssl/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ post-patch {
reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/Makefile
}

configure {}
use_configure no

build.args CFG=release OPENSSLDIR=${prefix}

Expand Down
2 changes: 1 addition & 1 deletion devel/fnv/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ post-patch {
reinplace s|/bin/true|true| ${worksrcpath}/Makefile
}

configure {}
use_configure no

build.args RANLIB=ranlib

Expand Down
4 changes: 2 additions & 2 deletions devel/glib1/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ long_description General-purpose library from the GTK+ team, includes \
master_sites ftp://ftp.gtk.org/pub/gtk/v1.2/ \
opendarwin::lt

set filename glib-${portversion}${extract.suffix}
set filename glib-${version}${extract.suffix}
distfiles ${filename} ltconfig13:lt ltmain13:lt
checksums ${filename} md5 6fe30dad87c77b91b632def29dd69ef9 \
ltconfig13 md5 ea53f42a550c9f9e653758a8ed91574e \
ltmain13 md5 e094ae92724c4015dbab97de151c2525
extract.only ${filename}
worksrcdir glib-${portversion}
worksrcdir glib-${version}

depends_lib port:gettext
depends_build port:pkgconfig
Expand Down
2 changes: 1 addition & 1 deletion devel/glib2/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ long_description Glib is a library which includes support routines for \
master_sites ftp://ftp.gtk.org/pub/glib/2.12 \
gnome:sources/glib/2.12

distname glib-${portversion}
distname glib-${version}

checksums md5 077a9917b673a9a0bc63f351786dde24 \
sha1 02d344295ddaeafeec6bc6824b71e12bbf1b0394 \
Expand Down
2 changes: 1 addition & 1 deletion devel/gnet2/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ long_description GNet is a simple network library written in C. It is \

master_sites http://www.gnetlibrary.org/src/

distname gnet-${portversion}
distname gnet-${version}
checksums sha1 01c41bd492c6fd33d31800d0c5146a09315f7f6d

depends_lib port:glib2 port:gettext port:libiconv
Expand Down
2 changes: 1 addition & 1 deletion devel/gpatch/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ master_sites http://www.funet.fi/pub/gnu/alpha/gnu/patch/ \
ftp://ftp.funet.fi/pub/gnu/alpha/gnu/patch/

platforms darwin sunos
distname patch-${portversion}
distname patch-${version}
checksums md5 dacfb618082f8d3a2194601193cf8716

configure.args --program-prefix=g --infodir=\\\${prefix}/share/info \
Expand Down
2 changes: 1 addition & 1 deletion devel/libcipher/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use_bzip2 yes
master_sites opendarwin
checksums md5 e322740002fc69c1e4e390ba461835d2
build.type bsd
worksrcdir ${portname}
worksrcdir ${name}
use_configure no
patchfiles patch-Makefile
build.env LDADD=-install_name\\ ${prefix}/lib/libcipher.1.dylib
Expand Down
Loading

0 comments on commit c9382e0

Please sign in to comment.