1996-07-10 10:25:14 +00:00
|
|
|
# New ports collection makefile for: cal
|
1997-05-12 06:33:23 +00:00
|
|
|
# Date created: 2 April 1997
|
|
|
|
# Whom: Andrey Zakhvatov <andy@icc.surw.chel.su>
|
1996-07-10 10:25:14 +00:00
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1996-07-10 10:25:14 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 22:04:57 +00:00
|
|
|
PORTNAME= cal
|
2000-04-10 03:59:12 +00:00
|
|
|
PORTVERSION= 3.5
|
1998-08-07 22:17:55 +00:00
|
|
|
CATEGORIES= deskutils
|
1997-05-12 06:33:23 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
1996-11-18 10:37:03 +00:00
|
|
|
MASTER_SITE_SUBDIR= utils/shell
|
1996-07-10 10:25:14 +00:00
|
|
|
|
2000-08-03 14:28:33 +00:00
|
|
|
MAINTAINER= sanpei@FreeBSD.org
|
1996-11-11 05:50:23 +00:00
|
|
|
|
1997-05-12 06:33:23 +00:00
|
|
|
WRKSRC= ${WRKDIR}/cal-3.5/source
|
|
|
|
MAKEFILE= makefile.unx
|
1996-11-11 05:50:23 +00:00
|
|
|
ALL_TARGET= cal
|
1996-11-17 09:06:37 +00:00
|
|
|
MAN1= cal.1
|
1996-07-10 10:25:14 +00:00
|
|
|
|
|
|
|
do-install:
|
1997-05-12 06:33:23 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cal ${PREFIX}/bin/cal
|
1999-03-31 15:31:21 +00:00
|
|
|
${MV} ${WRKSRC}/cal.1 ${WRKSRC}/cal.1.orig
|
|
|
|
${SED} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/cal.1.orig > ${WRKSRC}/cal.1
|
1997-05-12 06:33:23 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/cal.1 ${PREFIX}/man/man1/cal.1
|
|
|
|
@${MKDIR} ${PREFIX}/etc/cal
|
1999-08-22 19:01:07 +00:00
|
|
|
@${CHMOD} 0755 ${PREFIX}/etc/cal
|
1997-05-12 06:33:23 +00:00
|
|
|
if [ ! -f ${PREFIX}/etc/cal/calcol ]; then ${INSTALL_DATA} ${WRKDIR}/cal-3.5/cal.col ${PREFIX}/etc/cal/calcol; fi
|
|
|
|
if [ ! -f ${PREFIX}/etc/cal/caldat ]; then ${INSTALL_DATA} ${WRKDIR}/cal-3.5/cal.dat ${PREFIX}/etc/cal/caldat; fi
|
1996-07-10 10:25:14 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|