1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

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
This commit is contained in:
Foxfair Hu 2003-06-01 01:33:50 +00:00
parent 6a654fae67
commit 61346e3067
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81819
7 changed files with 16 additions and 38 deletions

View File

@ -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}|' \

View File

@ -1 +1 @@
MD5 (pcal_4_7_tar_Z.txt) = cef12878d3f6862d0cd1ad4358dcce38
MD5 (pcal-4.7.1.tar.gz) = 85314da2c4616d40a59c80fc4ee807a0

View File

@ -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

View File

@ -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>

View File

@ -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>

View File

@ -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

View File

@ -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