mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
1dfa1ba01a
PR: 3181 3372 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
30 lines
827 B
Makefile
30 lines
827 B
Makefile
# New ports collection makefile for: cal
|
|
# Version required: 3.5
|
|
# Date created: 2 April 1997
|
|
# Whom: Andrey Zakhvatov <andy@icc.surw.chel.su>
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
DISTNAME= cal-3.5
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
|
MASTER_SITE_SUBDIR= utils/shell
|
|
|
|
MAINTAINER= andy@icc.surw.chel.su
|
|
|
|
WRKSRC= ${WRKDIR}/cal-3.5/source
|
|
MAKEFILE= makefile.unx
|
|
ALL_TARGET= cal
|
|
MAN1= cal.1
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|