Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/utils
In directory vz-cvs-3.sog:/tmp/cvs-serv10235/utils

Added Files:
        pcal.info pcal.patch lcal.info lcal.patch 
Log Message:
to 10.7

--- NEW FILE: lcal.patch ---
diff -Nurd lcal-2.1.0.ori/Makefile lcal-2.1.0/Makefile
--- lcal-2.1.0.ori/Makefile     2006-08-04 23:02:48.000000000 -0300
+++ lcal-2.1.0/Makefile 2009-05-24 09:31:46.000000000 -0300
@@ -107,6 +107,7 @@
        MANDIR = /usr/man/man1
        CATDIR = /usr/man/cat1
 endif
+BINDIR=$(DESTDIR)/bin
 
 OBJECTS = $(OBJDIR)/lcal.o
 
@@ -186,18 +187,14 @@
 fresh: clobber $(LCAL)
 
 man:   $(DOCDIR)/lcal.man
-       nroff -man $(DOCDIR)/lcal.man > $(DOCDIR)/lcal.cat
-       groff -man -Tps $(DOCDIR)/lcal.man >$(DOCDIR)/lcal-help.ps
-       groff -man -Thtml $(DOCDIR)/lcal.man >$(DOCDIR)/lcal-help.html
-       groff -man -Tascii $(DOCDIR)/lcal.man >$(DOCDIR)/lcal-help.txt
+#      nroff -man $(DOCDIR)/lcal.man > $(DOCDIR)/lcal.cat
+#      groff -man -Tps $(DOCDIR)/lcal.man >$(DOCDIR)/lcal-help.ps
+#      groff -man -Thtml $(DOCDIR)/lcal.man >$(DOCDIR)/lcal-help.html
+#      groff -man -Tascii $(DOCDIR)/lcal.man >$(DOCDIR)/lcal-help.txt
 
 install:       $(EXECDIR)/$(LCAL) man
+       mkdir -p $(BINDIR)
+       mkdir -p $(INSTALLMAN1DIR)
        cp $(EXECDIR)/$(LCAL) $(BINDIR)
-       if [ -d $(MANDIR) ]; then \
-               cp $(DOCDIR)/lcal.man $(MANDIR)/lcal.1; \
-               $(PACK) $(MANDIR)/lcal.1; \
-       fi
-       if [ -d $(CATDIR) ]; then \
-               cp $(DOCDIR)/lcal.cat $(CATDIR)/lcal.1; \
-               $(PACK) $(CATDIR)/lcal.1; \
-       fi
+       cp $(DOCDIR)/lcal.man $(INSTALLMAN1DIR)/lcal.1
+

--- NEW FILE: pcal.info ---
Package: pcal
Version: 4.11.0
Revision: 3
Description: Generates PostScript calendars
License: Artistic
Homepage: http://pcal.sourceforge.net
Maintainer: Monic Polynomial <moni...@users.sourceforge.net>

Source: mirror:sourceforge:%n/%n-%v.tgz
Source-MD5: 0ed7e9bec81fe3bdd62f8af283bef704

PatchFile: %n.patch
PatchFile-MD5: 6c6a0f3b2ce883e2c46b11d11f4c0ab4

BuildDepends: fink (>= 0.24.12)

CompileScript: make

InstallScript: <<
#!/bin/bash -ev
make install DESTDIR=%i INSTALLMAN1DIR=%i/share/man/man1
/usr/bin/install -d -m 700 %i/share/%n
for d in examples scripts html eps
do
  /bin/cp -r $d %i/share/%n
done
/bin/chmod -R go=u-w %i/share/%n
<<

DocFiles: doc/ReadMe.txt doc/pcal-help.ps doc/pcal-help.html doc/pcal-help.txt

DescDetail: <<
pcal generates PostScript to produce landscape or portrait calendars for any
month and year. By default, pcal simply prints an empty calendar. However, by
setting a date/configuration file, it is possible to place events in the
appropriate dates of the calendar.
<<

DescUsage: <<
# Writes a whole-year 2009 calendar to 2009cal.ps
pcal 2009 -o 2009cal.ps

# Writes the April 2009 calendar to april2009cal.ps
pcal 4 2009 -o april2009cal.ps

Check the man page and the documentation for more elaborate uses of pcal,
including the syntax of date/configuration files.

The directory %p/share/pcal contains the following subdirectories:
- 'examples': date/configuration files with national holidays
- 'scripts': shell scripts that show how to automate tasks involving calendars
- 'html': bash and Perl CGI scripts
- 'eps': the recycle icon in EPS format
<<

--- NEW FILE: pcal.patch ---
--- pcal-4.11.0/Makefile.orig   2009-04-03 21:20:57.000000000 -0300
+++ pcal-4.11.0/Makefile        2009-04-04 09:01:00.000000000 -0300
@@ -138,19 +138,7 @@
 EXECDIR        = exec
 DOCDIR = doc
 
-# 
-# Compiling for DOS+DJGPP requires different directories for the installed
-# executable and the 'man'/'cat' pages.  Unix uses the values shown below.
-# 
-ifeq ($(OS),DJGPP)   # DOS+DJGPP
-       BINDIR = $(DJDIR)/bin
-       MANDIR = $(DJDIR)/man/man1
-       CATDIR = $(DJDIR)/man/cat1
-else   # Unix
-       BINDIR = /usr/local/bin
-       MANDIR = /usr/man/man1
-       CATDIR = /usr/man/cat1
-endif
+BINDIR=$(DESTDIR)/bin
 
 OBJECTS = $(OBJDIR)/pcal.o \
                $(OBJDIR)/encvec.o $(OBJDIR)/exprpars.o \
@@ -342,17 +330,12 @@
 fresh: clobber $(PCAL)
 
 man:   $(DOCDIR)/pcal.man
-       nroff -man $(DOCDIR)/pcal.man > $(DOCDIR)/pcal.cat
        groff -man -Tps $(DOCDIR)/pcal.man >$(DOCDIR)/pcal-help.ps
        groff -man -Thtml $(DOCDIR)/pcal.man >$(DOCDIR)/pcal-help.html
        groff -man -Tascii $(DOCDIR)/pcal.man >$(DOCDIR)/pcal-help.txt
 
 install:       $(EXECDIR)/$(PCAL) man
-       mkdir -p $(DESTDIR)/$(BINDIR)
-       mkdir -p $(DESTDIR)/$(MANDIR)
-       mkdir -p $(DESTDIR)/$(CATDIR)
-       cp $(EXECDIR)/$(PCAL) $(DESTDIR)/$(BINDIR)
-       cp $(DOCDIR)/pcal.man $(DESTDIR)/$(MANDIR)/pcal.1
-       $(PACK) $(DESTDIR)/$(MANDIR)/pcal.1
-       cp $(DOCDIR)/pcal.cat $(DESTDIR)/$(CATDIR)/pcal.1
-       $(PACK) $(DESTDIR)/$(CATDIR)/pcal.1
+       mkdir -p $(BINDIR)
+       mkdir -p $(INSTALLMAN1DIR)
+       cp $(EXECDIR)/$(PCAL) $(BINDIR)
+       cp $(DOCDIR)/pcal.man $(INSTALLMAN1DIR)/pcal.1

--- NEW FILE: lcal.info ---
Package: lcal
Version: 2.1.0
Revision: 3
Description: Generates PostScript lunar calendars
License: Artistic
Homepage: http://pcal.sourceforge.net/
Maintainer: Monic Polynomial <moni...@users.sourceforge.net>

Source: mirror:sourceforge:pcal/%n-%v.tgz
Source-MD5: c0ef6cca9296b8fe00efb2687a27eeb1

PatchFile: %n.patch
PatchFile-MD5: a391c341ac8259c7d0815246ab69918b

BuildDepends: fink (>= 0.24.12)

CompileScript: make
InstallScript: make install DESTDIR=%i INSTALLMAN1DIR=%i/share/man/man1

DocFiles: ReadMe.txt lcal-help.html lcal-help.ps lcal-help.txt

DescDetail: <<
Lcal is a program which generates full-year PostScript lunar (moon phase)
calendars in a 2-page format, a compressed 1-page format, or an odd-days-only
1-page format.
<<

DescUsage: <<
# Writes a whole-year 2-page 2009 lunar calendar to 2009cal.ps
lcal 2009 -o 2009cal.ps

# 1-page 2009 lunar calendar
lcal 2009 -S -o 2009cal.ps

# 1-page 2009 odd-days-only lunar calendar
lcal 2009 -O -o 2009cal.ps

Check the man page and the documentation for a detailed description of lcal's
options.
<<

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to