View | Details | Raw Unified | Return to bug 64047
Collapse All | Expand All

(-)print/pcal/Makefile (-19 / +20 lines)
Lines 8-47 Link Here
8
PORTNAME=	pcal
8
PORTNAME=	pcal
9
PORTVERSION=	4.7.1
9
PORTVERSION=	4.7.1
10
CATEGORIES=	print
10
CATEGORIES=	print
11
MASTER_SITES=	http://www.sunpoint.net/~pcal/
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
12
13
13
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
14
COMMENT=	PostScript calendar program
15
COMMENT=	PostScript calendar program
15
16
16
WWWSERVER!=	hostname
17
USE_REINPLACE=	yes
18
MAKE_ENV=	CC="${CC}" HOST_CC="${CC}" PAPERSIZE="${PAPERSIZE}"
19
ALL_TARGET=	pcal
17
20
18
MAN1=		pcal.1
21
MAN1=		pcal.1
22
PLIST_FILES=	bin/pcal libexec/pcal.cgi
23
PORTDOCS=	ReadMe pcal.html pcalw.html
19
24
20
.include <bsd.port.pre.mk>
25
WWWSERVER!=	hostname
21
22
MAKE_ENV+=	PAPERSIZE="${PAPERSIZE}"
23
MAKE_ENV+=	CC="${CC}" HOST_CC="${CC}"
24
26
25
ALL_TARGET=	pcal
27
.include <bsd.port.pre.mk>
26
28
27
pre-install:
29
post-patch:
28
	${MV} ${WRKSRC}/pcal.cgi ${WRKSRC}/pcal.cgi.tmp
30
	@${REINPLACE_CMD} -e \
29
	${SED} -e 's|@@PREFIX@@|${PREFIX}|' \
31
		's|@@PREFIX@@|${PREFIX}|g' ${WRKSRC}/pcal.cgi
30
		< ${WRKSRC}/pcal.cgi.tmp > ${WRKSRC}/pcal.cgi
32
	@${REINPLACE_CMD} -e \
31
	${MV} ${WRKSRC}/pcal.html ${WRKSRC}/pcal.html.tmp
33
		's|@@WWWSERVER@@|${WWWSERVER}|g' ${WRKSRC}/pcal.html
32
	${SED} -e 's|@@WWWSERVER@@|${WWWSERVER}|' \
34
	@${REINPLACE_CMD} -e \
33
		< ${WRKSRC}/pcal.html.tmp > ${WRKSRC}/pcal.html
35
		's|@@WWWSERVER@@|${WWWSERVER}|g' ${WRKSRC}/pcalw.html
34
	${MV} ${WRKSRC}/pcalw.html ${WRKSRC}/pcalw.html.tmp
35
	${SED} -e 's|@@WWWSERVER@@|${WWWSERVER}|' \
36
		< ${WRKSRC}/pcalw.html.tmp > ${WRKSRC}/pcalw.html
37
36
38
do-install:
37
do-install:
39
	${INSTALL_PROGRAM} ${WRKSRC}/pcal ${PREFIX}/bin
38
	${INSTALL_PROGRAM} ${WRKSRC}/pcal ${PREFIX}/bin
40
	${INSTALL_SCRIPT} ${WRKSRC}/pcal.cgi ${PREFIX}/libexec
39
	${INSTALL_SCRIPT} ${WRKSRC}/pcal.cgi ${PREFIX}/libexec
41
	${INSTALL_MAN} ${WRKSRC}/pcal.man ${PREFIX}/man/man1/pcal.1
40
	${INSTALL_MAN} ${WRKSRC}/pcal.man ${MANPREFIX}/man/man1/pcal.1
42
	${MKDIR} ${DOCSDIR}
41
.if !defined(NOPORTDOCS)
42
	@${MKDIR} ${DOCSDIR}
43
	${INSTALL_DATA} ${WRKSRC}/ReadMe ${DOCSDIR}
43
	${INSTALL_DATA} ${WRKSRC}/ReadMe ${DOCSDIR}
44
	${INSTALL_DATA} ${WRKSRC}/pcal.html ${DOCSDIR}
44
	${INSTALL_DATA} ${WRKSRC}/pcal.html ${DOCSDIR}
45
	${INSTALL_DATA} ${WRKSRC}/pcalw.html ${DOCSDIR}
45
	${INSTALL_DATA} ${WRKSRC}/pcalw.html ${DOCSDIR}
46
.endif
46
47
47
.include <bsd.port.post.mk>
48
.include <bsd.port.post.mk>
(-)print/pcal/distinfo (-1 / +2 lines)
Line 1 Link Here
1
MD5 (pcal-4.7.1.tar.gz) = 85314da2c4616d40a59c80fc4ee807a0
1
MD5 (pcal-4.7.1.tar.gz) = 07d8e3b92affc4940c4401d9a8274075
2
SIZE (pcal-4.7.1.tar.gz) = 291594
(-)print/pcal/pkg-descr (-1 / +1 lines)
Lines 3-9 Link Here
3
"calendar" for entries with leading dates matching dates on the
3
"calendar" for entries with leading dates matching dates on the
4
calendar, and prints any following text under the appropriate day.
4
calendar, and prints any following text under the appropriate day.
5
5
6
WWW: http://fronzek.akshor.com/pcal/
6
WWW: http://pcal.sourceforge.net/
7
7
8
--
8
--
9
mwest@uct.ac.za
9
mwest@uct.ac.za
(-)print/pcal/pkg-plist (-6 lines)
Lines 1-6 Link Here
1
bin/pcal
2
libexec/pcal.cgi
3
share/doc/pcal/ReadMe
4
share/doc/pcal/pcal.html
5
share/doc/pcal/pcalw.html
6
@dirrm share/doc/pcal

Return to bug 64047