blob: be6ad97fce5a5fbc6c08a118375cd205686690c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# New ports collection makefile for: pcal
# Date created: 10 June 2001
# Whom: mwest@uct.ac.za
#
# $FreeBSD$
#
PORTNAME= pcal
PORTVERSION= 4.7.1
CATEGORIES= print
MASTER_SITES= http://www.sunpoint.net/~pcal/
MAINTAINER= mwest@uct.ac.za
COMMENT= PostScript calendar program
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>
|