[19573] trunk/dports/textproc/boxes/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sat Sep 16 00:55:18 PDT 2006
Revision: 19573
Author: markd at macports.org
Date: 2006-09-16 00:55:16 -0700 (Sat, 16 Sep 2006)
Log Message:
-----------
Closes 10288. Committed prematurely. Here is the corrected portfile.
Modified Paths:
--------------
trunk/dports/textproc/boxes/Portfile
Modified: trunk/dports/textproc/boxes/Portfile
===================================================================
--- trunk/dports/textproc/boxes/Portfile 2006-09-16 07:47:52 UTC (rev 19572)
+++ trunk/dports/textproc/boxes/Portfile 2006-09-16 07:55:16 UTC (rev 19573)
@@ -16,28 +16,23 @@
distname ${name}-${version}
distfiles ${name}-${version}.src.tar.gz
checksums md5 d2ef9fa28a87bf32b3fe0c47ab82fa97
+use_configure no
-variant emacs {
- destroot {
- xinstall -m 755 ${worksrcpath}/src/boxes ${destroot}${prefix}/bin/${name}
- file copy ${worksrcpath}/boxes-config ${worksrcpath}/boxes
- xinstall -m 644 ${worksrcpath}/boxes ${destroot}${prefix}/share/${name}
- xinstall ${worksrcpath}/doc/boxes.1 ${destroot}${prefix}/share/man/man1/
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} COPYING README README.Win32.txt boxes-config ${destroot}${prefix}/share/doc/${name}
+variant emacs {}
- xinstall -m 755 -d ${destroot}${prefix}/share/emacs/site-lisp/${name}
- xinstall -m 644 ${worksrcpath}/doc/boxes.el ${destroot}${prefix}/share/emacs/site-lisp/${name}/
- }
- }
-use_configure no
pre-build { reinplace "s|GLOBALCONF = /usr/share/boxes|GLOBALCONF = ${prefix}/share/boxes|" "${worksrcpath}/Makefile" }
build { system "cd $worksrcpath && make" }
-destroot {
+
+destroot {
xinstall -m 755 ${worksrcpath}/src/boxes ${destroot}${prefix}/bin/${name}
file copy ${worksrcpath}/boxes-config ${worksrcpath}/boxes
xinstall -m 644 ${worksrcpath}/boxes ${destroot}${prefix}/share/${name}
xinstall ${worksrcpath}/doc/boxes.1 ${destroot}${prefix}/share/man/man1/
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} COPYING README README.Win32.txt boxes-config ${destroot}${prefix}/share/doc/${name}
+
+ if { [variant_isset emacs] } {
+ xinstall -m 755 -d ${destroot}${prefix}/share/emacs/site-lisp/${name}
+ xinstall -m 644 ${worksrcpath}/doc/boxes.el ${destroot}${prefix}/share/emacs/site-lisp/${name}/
}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20060916/49f790e0/attachment.html
More information about the macports-changes
mailing list