summaryrefslogtreecommitdiffstats
path: root/japanese/kpcal/Makefile
blob: 098bcf7cc4f6f0598d6a546fe7a1c63bb49e04fe (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
# New ports collection makefile for:	kpcal
# Date created:		1 February 2001
# Whom:			Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
#
# $FreeBSD$
#

PORTNAME=	kpcal
PORTVERSION=	2.0
PORTREVISION=	1
CATEGORIES=	japanese
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	yoichi
DISTNAME=	${PORTNAME}-${PORTVERSION}

PATCH_SITES=	http://www.tamaru.kuee.kyoto-u.ac.jp/~tsuchiya/misc/kpcal/
PATCHFILES=	${PORTNAME}-${PORTVERSION}-HappyMonday2003.patch
PATCH_DIST_STRIP=	-p1

MAINTAINER=	yoichi@FreeBSD.org

ALL_TARGET=	kpcal
MAN1=	kpcal.1

post-patch:
	${PERL} -pi -e 's/long/time_t/' ${WRKSRC}/kpcal.c
do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/kpcal ${LOCALBASE}/bin
	${INSTALL_MAN} ${WRKSRC}/kpcal.1 ${LOCALBASE}/man/man1

.include <bsd.port.mk>
OpenPOWER on IntegriCloud