aboutsummaryrefslogtreecommitdiff
path: root/print/pcal
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-10-21 19:36:52 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-10-21 19:36:52 +0000
commit52588920bff359b4e830a4a5420930738e931b76 (patch)
treeec65839b79a93e2caf81f97068e88c7156a11ad2 /print/pcal
parent1c6ee9a3f7c09bbe1f988b2a42b005d01eead61f (diff)
downloadports-52588920bff359b4e830a4a5420930738e931b76.tar.gz
ports-52588920bff359b4e830a4a5420930738e931b76.zip
- Update to 4.9.1
- Take maintainership PR: ports/87755 Submitted by: Frank Laszlo <laszlof@vonostingroup.com>
Notes
Notes: svn path=/head/; revision=146057
Diffstat (limited to 'print/pcal')
-rw-r--r--print/pcal/Makefile7
-rw-r--r--print/pcal/distinfo4
-rw-r--r--print/pcal/files/patch-html-pcal.pl22
-rw-r--r--print/pcal/pkg-plist23
4 files changed, 49 insertions, 7 deletions
diff --git a/print/pcal/Makefile b/print/pcal/Makefile
index 3d483a2eee34..9bc43b14fd61 100644
--- a/print/pcal/Makefile
+++ b/print/pcal/Makefile
@@ -6,13 +6,13 @@
#
PORTNAME= pcal
-PORTVERSION= 4.8.0
+PORTVERSION= 4.9.1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= laszlof@vonostingroup.com
COMMENT= PostScript calendar program
USE_REINPLACE= yes
@@ -31,6 +31,8 @@ post-patch:
@${REINPLACE_CMD} -e \
's|@@PREFIX@@|${PREFIX}|g' ${WRKSRC}/html/pcal.cgi
@${REINPLACE_CMD} -e \
+ 's|@@PREFIX@@|${PREFIX}|g' ${WRKSRC}/html/pcal.pl
+ @${REINPLACE_CMD} -e \
's|@@WWWSERVER@@|${WWWSERVER}|g' ${WRKSRC}/html/pcal.html
@${REINPLACE_CMD} -e \
's|@@WWWSERVER@@|${WWWSERVER}|g' ${WRKSRC}/html/pcalw.html
@@ -38,6 +40,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/exec/pcal ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/html/pcal.cgi ${PREFIX}/libexec
+ ${INSTALL_SCRIPT} ${WRKSRC}/html/pcal.pl ${PREFIX}/libexec
${INSTALL_MAN} ${WRKSRC}/doc/pcal.man ${MANPREFIX}/man/man1/pcal.1
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
diff --git a/print/pcal/distinfo b/print/pcal/distinfo
index b923e9306276..8d710f00579e 100644
--- a/print/pcal/distinfo
+++ b/print/pcal/distinfo
@@ -1,2 +1,2 @@
-MD5 (pcal-4.8.0.tgz) = 0bd20cec495926c81b5cd03b637d7a62
-SIZE (pcal-4.8.0.tgz) = 266615
+MD5 (pcal-4.9.1.tgz) = 7646ae0b539466696484f311d79b2b02
+SIZE (pcal-4.9.1.tgz) = 218977
diff --git a/print/pcal/files/patch-html-pcal.pl b/print/pcal/files/patch-html-pcal.pl
new file mode 100644
index 000000000000..8cb472273c25
--- /dev/null
+++ b/print/pcal/files/patch-html-pcal.pl
@@ -0,0 +1,22 @@
+--- html/pcal.pl.orig Thu Oct 20 16:16:41 2005
++++ html/pcal.pl Thu Oct 20 16:18:11 2005
+@@ -28,7 +28,7 @@
+ use vars qw(%category %form);
+ use strict;
+ use CGI;
+-$ENV{PATH} = '/usr/bin:/usr/local/bin';
++$ENV{PATH} = '/usr/bin:/usr/local/bin:@@PREFIX@@';
+
+ # set DEBUG=1 to echo debugging output as HTML text
+ my $DEBUG=0;
+@@ -43,8 +43,8 @@
+ # common calendar file on your system (note that the user can't use his/her
+ # own calendar file since most servers will execute pcal.cgi as 'nobody')
+
+-my $PCAL = '/usr/local/bin/pcal';
+-my $FILE = '/usr/local/bin/calendar';
++my $PCAL = '@@PREFIX@@/bin/pcal';
++my $FILE = '@@PREFIX@@/bin/calendar';
+ #
+ my $THECAL;
+ my @NOWTIME = localtime(time()) ;
diff --git a/print/pcal/pkg-plist b/print/pcal/pkg-plist
index ef45ecd76570..bfe71611ee82 100644
--- a/print/pcal/pkg-plist
+++ b/print/pcal/pkg-plist
@@ -1,18 +1,35 @@
bin/pcal
libexec/pcal.cgi
+libexec/pcal.pl
%%EXAMPLESDIR%%/calendar_au.txt
%%EXAMPLESDIR%%/calendar_de.txt
%%EXAMPLESDIR%%/calendar_ee.txt
%%EXAMPLESDIR%%/calendar_fi.txt
%%EXAMPLESDIR%%/calendar_fr.txt
%%EXAMPLESDIR%%/calendar_gr.txt
+%%EXAMPLESDIR%%/calendar_hu.txt
%%EXAMPLESDIR%%/calendar_no.txt
%%EXAMPLESDIR%%/calendar_nz.txt
%%EXAMPLESDIR%%/calendar_uk.txt
-%%EXAMPLESDIR%%/fonttest_e
+%%EXAMPLESDIR%%/calendar_us.txt
+%%EXAMPLESDIR%%/fonttest_arabic
+%%EXAMPLESDIR%%/fonttest_cyrillic
+%%EXAMPLESDIR%%/fonttest_greek
+%%EXAMPLESDIR%%/fonttest_hebrew
+%%EXAMPLESDIR%%/fonttest_koi8r
%%EXAMPLESDIR%%/fonttest_koi8u
-%%EXAMPLESDIR%%/fonttest_l
-%%EXAMPLESDIR%%/fonttest_r
+%%EXAMPLESDIR%%/fonttest_latin1
+%%EXAMPLESDIR%%/fonttest_latin10
+%%EXAMPLESDIR%%/fonttest_latin2
+%%EXAMPLESDIR%%/fonttest_latin3
+%%EXAMPLESDIR%%/fonttest_latin4
+%%EXAMPLESDIR%%/fonttest_latin5
+%%EXAMPLESDIR%%/fonttest_latin6
+%%EXAMPLESDIR%%/fonttest_latin7
+%%EXAMPLESDIR%%/fonttest_latin8
+%%EXAMPLESDIR%%/fonttest_latin9
+%%EXAMPLESDIR%%/fonttest_roman8
+%%EXAMPLESDIR%%/fonttest_thai
%%EXAMPLESDIR%%/moon98
%%EXAMPLESDIR%%/pcal-cfg.txt
@dirrm %%EXAMPLESDIR%%