Skip to content
Permalink
Browse files

new port www/phpicalendar

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@14421 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Oct 4, 2005
1 parent 8055a34 commit bbfbe4ee48a24f093646531c75fd7a4f2a179824
Showing with 41 additions and 0 deletions.
  1. +41 −0 www/phpicalendar/Portfile
@@ -0,0 +1,41 @@
# $Id: Portfile,v 1.1 2005/10/04 21:03:54 mww Exp $

PortSystem 1.0

name phpicalendar
version 2.0.1
categories www php
platforms darwin
maintainers mww@opendarwin.org
description web-based iCal viewer
long_description PHP iCalendar is a PHP-based iCal file viewer/parser to display \
iCals in a Web browser.

homepage http://phpicalendar.sourceforge.net/
master_sites sourceforge
extract.suffix .tgz
checksums md5 a73847a15634f8caf2ce96c341e23b56

use_configure no

build {}

set conf ${prefix}/www/${name}/config.inc.php

destroot {
xinstall -m 755 -d ${destroot}${prefix}/www \
${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath} ${destroot}${prefix}/www/${name}
foreach f { AUTHORS COPYING README TIMEZONES } {
file rename ${destroot}${prefix}/www/${name}/${f} \
${destroot}${prefix}/share/doc/${name}/${f}
}
file rename ${destroot}${conf} ${destroot}${conf}.sample
}

post-activate {
if ![file exists ${conf}] {
xinstall -m 644 ${conf}.sample ${conf}
}
}

0 comments on commit bbfbe4e

Please sign in to comment.
You can’t perform that action at this time.