2001-08-06 13:13:44 +00:00
|
|
|
# New ports collection makefile for: pcal
|
|
|
|
# Date created: 10 June 2001
|
|
|
|
# Whom: mwest@uct.ac.za
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pcal
|
2003-06-01 01:33:50 +00:00
|
|
|
PORTVERSION= 4.7.1
|
2001-08-06 13:13:44 +00:00
|
|
|
CATEGORIES= print
|
2003-07-08 05:23:54 +00:00
|
|
|
MASTER_SITES= http://www.sunpoint.net/~pcal/
|
2001-08-06 13:13:44 +00:00
|
|
|
|
2004-02-22 02:09:15 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:28:59 +00:00
|
|
|
COMMENT= PostScript calendar program
|
2001-08-06 13:13:44 +00:00
|
|
|
|
|
|
|
WWWSERVER!= hostname
|
|
|
|
|
|
|
|
MAN1= pcal.1
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
MAKE_ENV+= PAPERSIZE="${PAPERSIZE}"
|
|
|
|
MAKE_ENV+= CC="${CC}" HOST_CC="${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
|
|
|
|
${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 <bsd.port.post.mk>
|