[26687] trunk/dports/sysutils/rpm2html/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Tue Jul 3 13:23:50 PDT 2007


Revision: 26687
          http://trac.macosforge.org/projects/macports/changeset/26687
Author:   afb at macports.org
Date:     2007-07-03 13:23:49 -0700 (Tue, 03 Jul 2007)

Log Message:
-----------
use prefix docroot rather than system

Modified Paths:
--------------
    trunk/dports/sysutils/rpm2html/Portfile

Modified: trunk/dports/sysutils/rpm2html/Portfile
===================================================================
--- trunk/dports/sysutils/rpm2html/Portfile	2007-07-03 19:40:35 UTC (rev 26686)
+++ trunk/dports/sysutils/rpm2html/Portfile	2007-07-03 20:23:49 UTC (rev 26687)
@@ -34,20 +34,9 @@
 	reinplace "s|/usr/src/redhat|${prefix}/src/macports|" ${config}
 	reinplace "s|ftp://ftp.redhat.com/pub/redhat/linux/7.1/en/os/i386/RedHat/RPMS/|ftp=http://macports.org/packages/${os.platform}/${os.arch}/RPMS/|" ${config}
 	reinplace "s|ftpsrc=ftp://ftp.redhat.com/pub/redhat/linux/7.1/en/os/i386/SRPMS/|ftpsrc=http://macports.org/packages/SRPMS/|" ${config}
+	reinplace "s|/var/www/html|${prefix}/www|" ${destroot}${prefix}/etc/rpm2html.config
 }
 
-platform darwin {
-    post-destroot {
-	reinplace  "s|/var/www/html|/Library/WebServer/Documents|" ${destroot}${prefix}/etc/rpm2html.config
-    }
-}
-
-platform freebsd {
-    post-destroot {
-	reinplace "s|/var/www/html|/usr/local/www|" ${destroot}${prefix}/etc/rpm2html.config
-    }
-}
-
 variant template description "Use separate template file instead of hard-coded markup" {
 depends_build-append	lib:template:libtemplate
 configure.args-append	--with-template

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


More information about the macports-changes mailing list