[29386] trunk/dports/devel/ddd/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sat Sep 22 12:46:08 PDT 2007
Revision: 29386
http://trac.macosforge.org/projects/macports/changeset/29386
Author: nox at macports.org
Date: 2007-09-22 12:46:08 -0700 (Sat, 22 Sep 2007)
Log Message:
-----------
ddd:
* Don't install app-defaults's file as it's not recommended by upstream, use {{{--enable-builtin-app-defaults}}} instead.
* Added builtin manual.
* Added ncurses and XFree86 dependencies.
* Added useful comments about why the hell we play around EXEEXT.
* Added sha1 and rmd160 checksums.
Modified Paths:
--------------
trunk/dports/devel/ddd/Portfile
Modified: trunk/dports/devel/ddd/Portfile
===================================================================
--- trunk/dports/devel/ddd/Portfile 2007-09-22 19:45:56 UTC (rev 29385)
+++ trunk/dports/devel/ddd/Portfile 2007-09-22 19:46:08 UTC (rev 29386)
@@ -4,6 +4,7 @@
name ddd
version 3.3.11
+revision 1
categories devel
platforms darwin
maintainers nomaintainer
@@ -15,26 +16,29 @@
homepage http://www.gnu.org/software/ddd/
master_sites gnu
-checksums md5 f19437ebfdb5f2667d6de30f700dd319
+checksums md5 f19437ebfdb5f2667d6de30f700dd319 \
+ sha1 c302c37bdcccaad22e235177f5962dec424b1de3 \
+ rmd160 d9d705a494373f659d936cef115ad0af23797389
-depends_lib port:openmotif
+depends_lib port:openmotif \
+ port:ncurses \
+ lib:libX11.6:XFree86
+configure.args --infodir=${prefix}/share/info \
+ --mandir=${prefix}/share/man \
+ --enable-builtin-manual \
+ --enable-builtin-app-defaults
+
+# make will build the executable "ddd" and the X resource file "Ddd" in the same directory,
+# as HFS+ is case-insensitive by default, this will loosely FAIL.
build.args EXEEXT=.exe
-
destroot.args ${build.args}
post-destroot {
- file rename ${destroot}${prefix}/bin/ddd.exe ${destroot}${prefix}/bin/ddd
- file delete -force ${destroot}${prefix}/share/info
- file rename ${destroot}${prefix}/info ${destroot}${prefix}/share/info
- file delete -force ${destroot}${prefix}/share/man
- file rename ${destroot}${prefix}/man ${destroot}${prefix}/share/man
- file mkdir ${destroot}${x11prefix}/lib/X11/app-defaults
- xinstall -c ${destroot}${prefix}/share/${name}-${version}/${name}/Ddd \
- ${destroot}${x11prefix}/lib/X11/app-defaults
+ move ${destroot}${prefix}/bin/ddd.exe ${destroot}${prefix}/bin/ddd
}
platform puredarwin {
- depends_lib port:lesstif
+ depends_lib port:lesstif
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070922/bf31d143/attachment.html
More information about the macports-changes
mailing list