summaryrefslogtreecommitdiff
path: root/time/gcal/Makefile
blob: b24b8063b74cd56175e4bfda3c5a2821723ace01 (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
31
32
# $NetBSD: Makefile,v 1.19 2010/03/21 16:29:43 wiz Exp $
#

DISTNAME=		gcal-3.01
PKGREVISION=		5
CATEGORIES=		time
MASTER_SITES=		${MASTER_SITE_GNU:=gcal/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.gnu.org/software/gcal/gcal.html
COMMENT=		GNU version of the standard calendar utility

PKG_DESTDIR_SUPPORT=	user-destdir

USE_PKGLOCALEDIR=	yes

INFO_FILES=		# PLIST
GNU_CONFIGURE=		yes
USE_TOOLS+=		msgfmt
BROKEN_GETTEXT_DETECTION=	yes

REPLACE_PERL+=		misc/gcalltx/gcalltxp.in
USE_TOOLS+=		perl:run

INSTALL_MAKE_FLAGS+=	prefix=${DESTDIR}${PREFIX} \
			localedir=${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale \
			gnulocaledir=${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale \
			infodir=${DESTDIR}${PREFIX}/${PKGINFODIR} \
			mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"