[28360] trunk/dports/textproc/pmw/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Aug 29 01:40:56 PDT 2007


Revision: 28360
          http://trac.macosforge.org/projects/macports/changeset/28360
Author:   jochen at macports.org
Date:     2007-08-29 01:40:56 -0700 (Wed, 29 Aug 2007)

Log Message:
-----------
Install documentation,
add Id keyword, emacs local variables for coding system, minor formatting

Modified Paths:
--------------
    trunk/dports/textproc/pmw/Portfile

Modified: trunk/dports/textproc/pmw/Portfile
===================================================================
--- trunk/dports/textproc/pmw/Portfile	2007-08-29 08:29:04 UTC (rev 28359)
+++ trunk/dports/textproc/pmw/Portfile	2007-08-29 08:40:56 UTC (rev 28360)
@@ -1,5 +1,8 @@
-PortSystem 1.0
+# -*- coding: utf-8; truncate-lines: t -*-
+# $Id$
 
+PortSystem          1.0
+
 name                pmw
 version             4.12
 categories          textproc audio
@@ -20,10 +23,16 @@
 build.target
 
 pre-test            {
-        reinplace "s|RunTests|./RunTests|g" ${worksrcpath}/Makefile
+          reinplace "s|RunTests|./RunTests|g" ${worksrcpath}/Makefile
 }
 test.run            yes
 
 destroot.destdir    BINDIR=${destroot}${prefix}/bin \
                     DATADIR=${destroot}${prefix}/share/pmw \
                     MANDIR=${destroot}${prefix}/share/man
+
+post-destroot {
+          set pdfdir ${prefix}/share/doc/${name}-${version}/pdf/
+          xinstall -m 0755 -d ${destroot}${pdfdir}
+          xinstall -c -m 644 ${worksrcpath}/doc/spec.pdf ${destroot}${pdfdir}
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070829/04832aeb/attachment.html


More information about the macports-changes mailing list