2012-10-08 15:04:16 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2012/10/08 13:04:17 asau Exp $
|
2000-12-18 00:32:09 +01:00
|
|
|
|
|
|
|
DISTNAME= cal-3.5
|
2003-01-03 23:22:09 +01:00
|
|
|
PKGREVISION= 1
|
2000-12-18 00:32:09 +01:00
|
|
|
CATEGORIES= time
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE:=utils/shell/}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-02-17 18:31:58 +01:00
|
|
|
COMMENT= Enhanced color version of standard calendar utility
|
2000-12-18 00:32:09 +01:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/cal-3.5/source
|
2006-09-09 04:41:53 +02:00
|
|
|
MAKE_FILE= makefile.unx
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= cal
|
2000-12-18 00:32:09 +01:00
|
|
|
|
2003-01-03 23:22:09 +01:00
|
|
|
PKG_SYSCONFSUBDIR= cal
|
2005-02-14 06:37:55 +01:00
|
|
|
CFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
|
2003-01-03 23:22:09 +01:00
|
|
|
EGDIR= ${PREFIX}/share/examples/cal
|
|
|
|
# CONF_FILES not used as calcol and caldat are optional.
|
|
|
|
|
2008-06-20 03:09:05 +02:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${EGDIR}
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2000-12-18 00:32:09 +01:00
|
|
|
do-install:
|
2008-06-20 03:09:05 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cal ${DESTDIR}${PREFIX}/bin/cal
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/cal.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/cal.1
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/cal-3.5/cal.col ${DESTDIR}${EGDIR}/calcol
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/cal-3.5/cal.dat ${DESTDIR}${EGDIR}/caldat
|
2000-12-18 00:32:09 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|