[78576] trunk/dports/devel
ryandesign at macports.org
ryandesign at macports.org
Thu May 12 18:19:29 PDT 2011
Revision: 78576
http://trac.macports.org/changeset/78576
Author: ryandesign at macports.org
Date: 2011-05-12 18:19:29 -0700 (Thu, 12 May 2011)
Log Message:
-----------
dylibbundler: new port, version 0.3.1; see #29447
Added Paths:
-----------
trunk/dports/devel/dylibbundler/
trunk/dports/devel/dylibbundler/Portfile
trunk/dports/devel/dylibbundler/files/
trunk/dports/devel/dylibbundler/files/patch-makefile.diff
Added: trunk/dports/devel/dylibbundler/Portfile
===================================================================
--- trunk/dports/devel/dylibbundler/Portfile (rev 0)
+++ trunk/dports/devel/dylibbundler/Portfile 2011-05-13 01:19:29 UTC (rev 78576)
@@ -0,0 +1,54 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name dylibbundler
+version 0.3.1
+categories devel
+platforms darwin
+maintainers gmail.com:tael67 openmaintainer
+license GPL-2+
+
+description terminal utility for Mac OS X that eases bundling dynamic \
+ libraries (.dylib) inside app bundles
+
+long_description ${name} is a small command-line programs that aims to \
+ make bundling .dylibs as easy as possible. It \
+ automatically determines which dylibs are needed by your \
+ program, copies these libraries inside the app bundle, \
+ and fixes both them and the executable to be ready for \
+ distribution, all this with a single command. It will \
+ also work if your program uses plug-ins that have \
+ dependencies too.
+
+homepage http://macdylibbundler.sourceforge.net/
+master_sites sourceforge:macdylibbundler
+
+checksums sha1 c3126a057b527f33f92f6c258715534c6e52ce26 \
+ rmd160 2792088a4e605f7c8e362fb374ce1ca95c75a09c
+
+distname ${name}${version}
+use_zip yes
+worksrcdir ${name}
+
+patchfiles patch-makefile.diff
+
+use_configure no
+
+variant universal {}
+if {[variant_isset universal]} {
+ set archflags ${configure.universal_cflags}
+} else {
+ set archflags ${configure.cc_archflags}
+}
+
+build.args CXX="${configure.cxx} ${archflags}"
+
+destroot.args PREFIX=${prefix}
+
+post-destroot {
+ set docdir ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${docdir}
+ xinstall -m 644 ${worksrcpath}/help.html ${docdir}
+}
Property changes on: trunk/dports/devel/dylibbundler/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/devel/dylibbundler/files/patch-makefile.diff
===================================================================
--- trunk/dports/devel/dylibbundler/files/patch-makefile.diff (rev 0)
+++ trunk/dports/devel/dylibbundler/files/patch-makefile.diff 2011-05-13 01:19:29 UTC (rev 78576)
@@ -0,0 +1,34 @@
+--- makefile.orig 2008-06-02 09:31:23.000000000 -0500
++++ makefile 2011-05-12 18:57:39.000000000 -0500
+@@ -1,15 +1,22 @@
++DESTDIR=
++PREFIX=/usr/local
++
++all: dylibbundler
++
+ dylibbundler:
+- g++ -c -I./src ./src/Settings.cpp -o ./Settings.o
+- g++ -c -I./src ./src/DylibBundler.cpp -o ./DylibBundler.o
+- g++ -c -I./src ./src/Dependency.cpp -o ./Dependency.o
+- g++ -c -I./src ./src/main.cpp -o ./main.o
+- g++ -c -I./src ./src/Utils.cpp -o ./Utils.o
+- g++ -o ./dylibbundler ./Settings.o ./DylibBundler.o ./Dependency.o ./main.o ./Utils.o
++ $(CXX) -c -I./src ./src/Settings.cpp -o ./Settings.o
++ $(CXX) -c -I./src ./src/DylibBundler.cpp -o ./DylibBundler.o
++ $(CXX) -c -I./src ./src/Dependency.cpp -o ./Dependency.o
++ $(CXX) -c -I./src ./src/main.cpp -o ./main.o
++ $(CXX) -c -I./src ./src/Utils.cpp -o ./Utils.o
++ $(CXX) -o ./dylibbundler ./Settings.o ./DylibBundler.o ./Dependency.o ./main.o ./Utils.o
+
+ clean:
+ rm -f *.o
+ rm -f ./dylibbundler
+
+ install: dylibbundler
+- cp ./dylibbundler /usr/local/bin/dylibbundler
+- chmod 775 /usr/local/bin/dylibbundler
+\ No newline at end of file
++ cp ./dylibbundler $(DESTDIR)$(PREFIX)/bin/dylibbundler
++ chmod 775 $(DESTDIR)$(PREFIX)/bin/dylibbundler
++
++.PHONY: all clean install
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110512/c496ec32/attachment.html>
More information about the macports-changes
mailing list