Index: head/print/pcal/Makefile =================================================================== --- head/print/pcal/Makefile (revision 81818) +++ head/print/pcal/Makefile (revision 81819) @@ -1,58 +1,47 @@ # New ports collection makefile for: pcal # Date created: 10 June 2001 # Whom: mwest@uct.ac.za # # $FreeBSD$ # 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 .include MAKE_ENV+= PAPERSIZE="${PAPERSIZE}" 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}|' \ < ${WRKSRC}/pcal.cgi.tmp > ${WRKSRC}/pcal.cgi ${MV} ${WRKSRC}/pcal.html ${WRKSRC}/pcal.html.tmp ${SED} -e 's|@@WWWSERVER@@|${WWWSERVER}|' \ < ${WRKSRC}/pcal.html.tmp > ${WRKSRC}/pcal.html ${MV} ${WRKSRC}/pcalw.html ${WRKSRC}/pcalw.html.tmp ${SED} -e 's|@@WWWSERVER@@|${WWWSERVER}|' \ < ${WRKSRC}/pcalw.html.tmp > ${WRKSRC}/pcalw.html do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pcal ${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/pcal.cgi ${PREFIX}/libexec ${INSTALL_MAN} ${WRKSRC}/pcal.man ${PREFIX}/man/man1/pcal.1 ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/ReadMe ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/pcal.html ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/pcalw.html ${DOCSDIR} .include Property changes on: head/print/pcal/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/print/pcal/distinfo =================================================================== --- head/print/pcal/distinfo (revision 81818) +++ head/print/pcal/distinfo (revision 81819) @@ -1 +1 @@ -MD5 (pcal_4_7_tar_Z.txt) = cef12878d3f6862d0cd1ad4358dcce38 +MD5 (pcal-4.7.1.tar.gz) = 85314da2c4616d40a59c80fc4ee807a0 Property changes on: head/print/pcal/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/print/pcal/files/patch-aa =================================================================== --- head/print/pcal/files/patch-aa (revision 81818) +++ head/print/pcal/files/patch-aa (revision 81819) @@ -1,37 +1,26 @@ ---- 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) # Set COMPRESS to your preferred compression utility (compress, gzip, etc.), # Z to the file suffix that it generates (.Z, .gz, etc.), and UUC to the file @@ -58,9 +58,9 @@ # PACK = pack # directories for installing executable and man page(s) -BINDIR = /usr/local/bin -MANDIR = /usr/man/man1 -CATDIR = /usr/man/cat1 +BINDIR = ${PREFIX}/bin +MANDIR = ${PREFIX}/man/man1 +CATDIR = ${PREFIX}/cat1 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 Property changes on: head/print/pcal/files/patch-aa ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/print/pcal/files/patch-ac =================================================================== --- head/print/pcal/files/patch-ac (revision 81818) +++ head/print/pcal/files/patch-ac (revision 81819) @@ -1,20 +1,20 @@ ---- 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 @@ --> -pcal v4.6 -+pcal v4.7 ++pcal v4.7.1 @@ -21,7 +21,7 @@ -
+ Property changes on: head/print/pcal/files/patch-ac ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/print/pcal/files/patch-ad =================================================================== --- head/print/pcal/files/patch-ad (revision 81818) +++ head/print/pcal/files/patch-ad (revision 81819) @@ -1,19 +1,19 @@ ---- 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 @@ --> -pcal v4.6 (single-year mode) -+pcal v4.7 (single-year mode) ++pcal v4.7.1 (single-year mode)

Generate single-page PostScript calendar for entire year

- + Property changes on: head/print/pcal/files/patch-ad ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/print/pcal/files/patch-ae =================================================================== --- head/print/pcal/files/patch-ae (revision 81818) +++ head/print/pcal/files/patch-ae (revision 81819) @@ -1,19 +1,19 @@ ---- 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 is specified as HTML (see the -.B -\H +.B \-H flag); otherwise they will be converted to their ASCII equivalents. This allows a common date file to be used regardless of whether the desired output format is HTML, PostScript, or Un*x .I "calendar(1)" (see the -.B -\c +.B \-c flag) input. .PP Lines in the Property changes on: head/print/pcal/files/patch-ae ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/print/pcal/pkg-descr =================================================================== --- head/print/pcal/pkg-descr (revision 81818) +++ head/print/pcal/pkg-descr (revision 81819) @@ -1,9 +1,9 @@ "Pcal" is a program to print PostScript calendars for any month and 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 Property changes on: head/print/pcal/pkg-descr ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property