1999-04-15 22:39:38 +02:00
|
|
|
# $NetBSD: Makefile,v 1.6 1999/04/15 20:39:44 tron Exp $
|
1997-10-24 02:47:42 +02:00
|
|
|
# FreeBSD Id: Makefile,v 1.5 1997/05/12 06:33:23 max Exp
|
1997-10-11 23:53:59 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= cal-3.5
|
|
|
|
CATEGORIES= misc
|
1999-04-15 22:39:38 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE:=utils/shell/}
|
1997-10-11 23:53:59 +02:00
|
|
|
|
1998-04-20 13:56:17 +02:00
|
|
|
MAINTAINER= packages@netbsd.org
|
1997-10-11 23:53:59 +02:00
|
|
|
|
1998-04-20 13:56:17 +02:00
|
|
|
WRKSRC= ${WRKDIR}/cal-3.5/source
|
|
|
|
MAKEFILE= makefile.unx
|
|
|
|
ALL_TARGET= cal
|
1997-10-11 23:53:59 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${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
|
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|