diff options
author | kei <kei@pkgsrc.org> | 2000-12-21 06:20:53 +0000 |
---|---|---|
committer | kei <kei@pkgsrc.org> | 2000-12-21 06:20:53 +0000 |
commit | ed47bb818376f66c44479df3164f9dc2cfca3750 (patch) | |
tree | a32720f7c36e3da17417fb94f0947192bb6c47cd /time/pcal/Makefile | |
parent | 818b913aa787ddcd84f27f6818d18ac41fcbdc63 (diff) | |
download | pkgsrc-ed47bb818376f66c44479df3164f9dc2cfca3750.tar.gz |
initial import of "pcal" package.
"Pcal" Version 4.7
This is a new release of "Pcal", the PostScript calendar program. The major
new features are the "-H" flag for generating output in HTML table form,
expansion of "%y" in the "include" filename into the last two digits of
every applicable year in "year all" mode, and the addition of build-time
support for A4 size paper.
Diffstat (limited to 'time/pcal/Makefile')
-rw-r--r-- | time/pcal/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/time/pcal/Makefile b/time/pcal/Makefile new file mode 100644 index 00000000000..fe597f1ed81 --- /dev/null +++ b/time/pcal/Makefile @@ -0,0 +1,48 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/12/21 06:20:53 kei Exp $ +# + +DISTNAME= pcal_4_7_tar_Z +PKGNAME= pcal-4.7 +CATEGORIES= time +MASTER_SITES= http://www.geocities.com/SunsetStrip/Palms/5555/PS/ +EXTRACT_SUFX= .txt + +MAINTAINER= kei@netbsd.org +HOMEPAGE= http://www.geocities.com/SunsetStrip/Palms/5555/PS/index.html + +UUDECODE?= uudecode -p +EXTRACT_CMD= ${CAT} ${DOWNLOADED_DISTFILE} | ${UUDECODE} | ${PAX} -rz + +WRKSRC= ${WRKDIR}/pcal.4.7 + +HTDOCS= ${PREFIX}/share/httpd/htdocs +WWWSERVER!= hostname + +.include "../../mk/bsd.prefs.mk" # for PAPERSIZE +.include <bsd.sys.mk> # for CC and HOST_CC +MAKE_ENV+= PAPERSIZE="${PAPERSIZE}" +MAKE_ENV+= CC="${CC}" HOST_CC="${HOST_CC}" + +ALL_TARGET= pcal + +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/cgi-bin + ${INSTALL_MAN} ${WRKSRC}/pcal.man ${PREFIX}/man/man1/pcal.1 + ${INSTALL_DATA} ${WRKSRC}/ReadMe ${PREFIX}/share/doc/ReadMe.pcal + ${INSTALL_DATA_DIR} ${HTDOCS} + ${INSTALL_DATA} ${WRKSRC}/pcal.html ${HTDOCS} + ${INSTALL_DATA} ${WRKSRC}/pcalw.html ${HTDOCS} + +.include "../../mk/bsd.pkg.mk" |