blob: f8960d1d656b9d6186ab0d942d3fd5a2710297bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $NetBSD: Makefile,v 1.16 2008/06/20 01:09:38 joerg Exp $
DISTNAME= cal-3.5
PKGREVISION= 1
CATEGORIES= time
MASTER_SITES= ${MASTER_SITE_SUNSITE:=utils/shell/}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Enhanced color version of standard calendar utility
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/cal-3.5/source
MAKE_FILE= makefile.unx
BUILD_TARGET= cal
PKG_SYSCONFSUBDIR= cal
CFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
EGDIR= ${PREFIX}/share/examples/cal
# CONF_FILES not used as calcol and caldat are optional.
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${EGDIR}
do-install:
${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
.include "../../mk/bsd.pkg.mk"
|