1996-07-10 10:25:14 +00:00
|
|
|
# New ports collection makefile for: cal
|
1997-05-12 06:33:23 +00:00
|
|
|
# Version required: 3.5
|
|
|
|
# Date created: 2 April 1997
|
|
|
|
# Whom: Andrey Zakhvatov <andy@icc.surw.chel.su>
|
1996-07-10 10:25:14 +00:00
|
|
|
#
|
1998-08-07 22:17:55 +00:00
|
|
|
# $Id: Makefile,v 1.5 1997/05/12 06:33:23 max Exp $
|
1996-07-10 10:25:14 +00:00
|
|
|
#
|
|
|
|
|
1997-05-12 06:33:23 +00:00
|
|
|
DISTNAME= cal-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
|
|
|
|
1997-05-12 06:33:23 +00:00
|
|
|
MAINTAINER= andy@icc.surw.chel.su
|
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
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/cal.1 ${PREFIX}/man/man1/cal.1
|
|
|
|
@${MKDIR} ${PREFIX}/etc/cal
|
|
|
|
@chmod 0755 ${PREFIX}/etc/cal
|
|
|
|
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>
|