summaryrefslogtreecommitdiff
path: root/print/pcal
diff options
context:
space:
mode:
authorFoxfair Hu <foxfair@FreeBSD.org>2003-06-01 01:33:50 +0000
committerFoxfair Hu <foxfair@FreeBSD.org>2003-06-01 01:33:50 +0000
commit61346e3067ddbdb3b0cb5460edb49b86d4b26664 (patch)
treee9385b1929fc92e235d08c19c38cf225620b5762 /print/pcal
parent* Add FreeBSD Alpha support! [1] (diff)
PR: 52644
Submitted by: MAINTAINER Update pcal to 4.7.1, which now has a new home as the original author's site is no longer available
Notes
Notes: svn path=/head/; revision=81819
Diffstat (limited to 'print/pcal')
-rw-r--r--print/pcal/Makefile15
-rw-r--r--print/pcal/distinfo2
-rw-r--r--print/pcal/files/patch-aa19
-rw-r--r--print/pcal/files/patch-ac6
-rw-r--r--print/pcal/files/patch-ad6
-rw-r--r--print/pcal/files/patch-ae4
-rw-r--r--print/pcal/pkg-descr2
7 files changed, 16 insertions, 38 deletions
diff --git a/print/pcal/Makefile b/print/pcal/Makefile
index 5c28d0757ba6..b66d0dfe66c8 100644
--- a/print/pcal/Makefile
+++ b/print/pcal/Makefile
@@ -6,17 +6,13 @@
#
PORTNAME= pcal
-PORTVERSION= 4.7
+PORTVERSION= 4.7.1
CATEGORIES= print
-MASTER_SITES= http://www.geocities.com/SunsetStrip/Palms/5555/PS/
-DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/}_tar_Z
-EXTRACT_SUFX= .txt
+MASTER_SITES= http://fronzek.akshor.com/pcal/
MAINTAINER= mwest@uct.ac.za
COMMENT= PostScript calendar program
-WRKSRC= ${WRKDIR}/pcal.${PORTVERSION}
-PAPERSIZE?= A4
WWWSERVER!= hostname
MAN1= pcal.1
@@ -28,13 +24,6 @@ MAKE_ENV+= CC="${CC}" HOST_CC="${CC}"
ALL_TARGET= pcal
-do-extract:
- @${RM} -rf ${WRKDIR}
- @${MKDIR} ${WRKDIR}
- @(cd ${WRKDIR}; \
- uudecode -p ${DISTDIR}/${DISTFILES} | ${TAR} xzf -; \
- )
-
pre-install:
${MV} ${WRKSRC}/pcal.cgi ${WRKSRC}/pcal.cgi.tmp
${SED} -e 's|@@PREFIX@@|${PREFIX}|' \
diff --git a/print/pcal/distinfo b/print/pcal/distinfo
index 4cb769eb12ee..c56cc1b0ef5e 100644
--- a/print/pcal/distinfo
+++ b/print/pcal/distinfo
@@ -1 +1 @@
-MD5 (pcal_4_7_tar_Z.txt) = cef12878d3f6862d0cd1ad4358dcce38
+MD5 (pcal-4.7.1.tar.gz) = 85314da2c4616d40a59c80fc4ee807a0
diff --git a/print/pcal/files/patch-aa b/print/pcal/files/patch-aa
index 08d025ea3e64..0c8072602ac0 100644
--- a/print/pcal/files/patch-aa
+++ b/print/pcal/files/patch-aa
@@ -1,11 +1,11 @@
---- Makefile.orig Thu Feb 10 01:06:23 2000
-+++ Makefile Thu Dec 21 09:40:35 2000
+--- Makefile.orig Tue Jan 7 10:29:28 2003
++++ Makefile Sat May 24 15:40:57 2003
@@ -21,8 +21,8 @@
# Set the configuration variables below to taste.
--PCALINIT_CC = /bin/cc # native compiler
--CC = /bin/cc # cross-compiler (if target != host)
+-PCALINIT_CC = /usr/bin/gcc # native compiler
+-CC = /usr/bin/gcc # cross-compiler (if target != host)
+PCALINIT_CC = ${CC} # native compiler
+CC = ${HOST_CC} # cross-compiler (if target != host)
@@ -24,14 +24,3 @@
OBJECTS = pcal.o exprpars.o moonphas.o pcalutil.o readfile.o writefil.o
-@@ -112,6 +112,10 @@
- $(D_TEXT) $(D_LINK) $(D_ALINK) $(D_VLINK) \
- $(D_HOLIDAY_PRE) $(D_HOLIDAY_POST) $(D_BLANK_STYLE) \
- $(D_SEARCH_PCAL_DIR)
-+
-+.if defined(PAPERSIZE) && $(PAPERSIZE) == A4 # default Letter (OK?)
-+COPTS += -DA4PAPER
-+.endif
-
- $(PCAL): $(OBJECTS)
- $(CC) $(LDFLAGS) -o $(PCAL) $(OBJECTS) -lm
diff --git a/print/pcal/files/patch-ac b/print/pcal/files/patch-ac
index e14405b198cb..2290dff70a02 100644
--- a/print/pcal/files/patch-ac
+++ b/print/pcal/files/patch-ac
@@ -1,11 +1,11 @@
---- pcal.html.orig Thu Feb 10 01:06:23 2000
-+++ pcal.html Wed Dec 20 17:38:53 2000
+--- pcal.html.orig Wed Feb 9 18:06:23 2000
++++ pcal.html Sat May 24 15:42:13 2003
@@ -12,7 +12,7 @@
-->
<HEAD>
-<TITLE>pcal v4.6</TITLE>
-+<TITLE>pcal v4.7</TITLE>
++<TITLE>pcal v4.7.1</TITLE>
</HEAD>
<BODY>
diff --git a/print/pcal/files/patch-ad b/print/pcal/files/patch-ad
index 9e3f2942d0bf..fd9ccb32877e 100644
--- a/print/pcal/files/patch-ad
+++ b/print/pcal/files/patch-ad
@@ -1,11 +1,11 @@
---- pcalw.html.orig Thu Feb 10 01:06:23 2000
-+++ pcalw.html Wed Dec 20 17:38:56 2000
+--- pcalw.html.orig Wed Feb 9 18:06:23 2000
++++ pcalw.html Sat May 24 15:42:43 2003
@@ -12,14 +12,14 @@
-->
<HEAD>
-<TITLE>pcal v4.6 (single-year mode)</TITLE>
-+<TITLE>pcal v4.7 (single-year mode)</TITLE>
++<TITLE>pcal v4.7.1 (single-year mode)</TITLE>
</HEAD>
<BODY>
<H2 ALIGN=CENTER>Generate single-page PostScript calendar for entire year</H2>
diff --git a/print/pcal/files/patch-ae b/print/pcal/files/patch-ae
index 82bd6e20dac5..031ba3350c8a 100644
--- a/print/pcal/files/patch-ae
+++ b/print/pcal/files/patch-ae
@@ -1,5 +1,5 @@
---- pcal.man.orig Thu Dec 21 10:10:45 2000
-+++ pcal.man Thu Dec 21 10:11:15 2000
+--- pcal.man.orig Wed Feb 9 18:06:23 2000
++++ pcal.man Sat May 24 15:37:18 2003
@@ -443,14 +443,14 @@
`&#NNN;' (NNN = any three decimal digits) are also supported. These will
be propagated intact (be sure to escape the `#' in `&#NNN;') if the output
diff --git a/print/pcal/pkg-descr b/print/pcal/pkg-descr
index f470809c8835..2851bddb4d40 100644
--- a/print/pcal/pkg-descr
+++ b/print/pcal/pkg-descr
@@ -3,7 +3,7 @@ year. By default, it looks for a file in the home directory named
"calendar" for entries with leading dates matching dates on the
calendar, and prints any following text under the appropriate day.
-WWW: http://www.geocities.com/SunsetStrip/Palms/5555/PS/
+WWW: http://fronzek.akshor.com/pcal/
--
mwest@uct.ac.za