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