[130978] trunk/dports/graphics/libpgf/Portfile
eborisch at macports.org
eborisch at macports.org
Sun Jan 4 10:24:20 PST 2015
Revision: 130978
https://trac.macports.org/changeset/130978
Author: eborisch at macports.org
Date: 2015-01-04 10:24:20 -0800 (Sun, 04 Jan 2015)
Log Message:
-----------
libpgf: Address issues raised on mailing list.
Modified Paths:
--------------
trunk/dports/graphics/libpgf/Portfile
Modified: trunk/dports/graphics/libpgf/Portfile
===================================================================
--- trunk/dports/graphics/libpgf/Portfile 2015-01-04 18:19:07 UTC (rev 130977)
+++ trunk/dports/graphics/libpgf/Portfile 2015-01-04 18:24:20 UTC (rev 130978)
@@ -5,6 +5,7 @@
name libpgf
version 6.14.12
+revision 1
categories graphics
license LGPL-2+
maintainers nomaintainer
@@ -20,9 +21,8 @@
master_sites sourceforge:project/${name}/${name}/${version}-latest
distname ${name}-src-${version}
-depends_build port:dos2unix \
- port:doxygen \
- port:graphviz \
+depends_build port:doxygen \
+ path:bin/dot:graphviz \
port:libtool \
port:autoconf \
port:automake
@@ -35,7 +35,8 @@
post-extract {
reinplace "s/libtoolize/glibtoolize/" autogen.sh
- system -W ${worksrcpath} "dos2unix configure.ac"
+ # DOS to UNIX line endings.
+ reinplace "s|\r||g" ${worksrcpath}/configure.ac
}
pre-configure {
@@ -43,7 +44,9 @@
}
post-destroot {
- delete ${destroot}/${prefix}/share/man
+ delete ${destroot}${prefix}/share/man
+ move ${destroot}${prefix}/share/doc/${name}-${version} \
+ ${destroot}${prefix}/share/doc/${name}
copy ${worksrcpath}/COPYING \
- ${destroot}/${prefix}/share/doc/${name}-${version}/
+ ${destroot}${prefix}/share/doc/${name}/
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150104/ceacd0fb/attachment.html>
More information about the macports-changes
mailing list