summaryrefslogtreecommitdiff
path: root/deskutils/gcal/Makefile
blob: 3c65fdcd9605f022dc0c9f09cc32901182760a69 (plain) (blame)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# New ports collection makefile for:	gcal
# Date created:				12 October 2000
# Whom:					Cyrille Lefevre <clefevre@citeweb.net>
#
# $FreeBSD$
#

PORTNAME=		gcal
PORTVERSION=		3.01
PORTREVISION=		1
CATEGORIES=		deskutils
MASTER_SITES=		${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	gcal

MAINTAINER=	cyrille.lefevre@laposte.net
COMMENT=	The GNU Gregorian calendar program

# Global variables
#

LIB_DEPENDS=	intl.5:${PORTSDIR}/devel/gettext

GNU_CONFIGURE=	yes

# required to rebuild info files if needed.
USE_GMAKE=	yes

# PREFIX isn't honored. force it w/ prefix.
MAKE_ARGS=	prefix="${PREFIX}"

MAN1=		gcal.1 gcal2txt.1 tcal.1 txt2gcal.1

# Local variables
#

INSTALL_INFO?=	install-info

# Post-extract
#

# it's not so simple to get rid of splitted *.info-* files
# w/ hacking doc/Makefile.in. so, do nothing and left them.
# post-extract:
# 	@${RM} -f ${WRKSRC}/doc/*/${PORTNAME}.info*

# Post-install
#

post-install: install-info

install-info:
	@${INSTALL_INFO} ${PREFIX}/info/${PORTNAME}.info ${PREFIX}/info/dir

.include <bsd.port.mk>