summaryrefslogtreecommitdiff
path: root/time/jday/Makefile
blob: dca1a77af1092fd90b67ed76b9540a4858804422 (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.1.1.1 2004/01/09 13:40:53 wennmach Exp $
#

DISTNAME=		jday-1.3
CATEGORIES=		time
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=jday/}

MAINTAINER=		David Simas <davids@idiom.com>
HOMEPAGE=		http://jday.sourceforge.net/
COMMENT=		Julian date calculator

GNU_CONFIGURE=		yes
USE_LIBTOOL=		yes
LIBTOOL_OVERRIDE=	${WRKSRC}/libtool

do-test:
	@(cd ${WRKSRC} && ./RunTest)
	@(cd ${WRKSRC} && ./Testdbd)

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/jday
	${INSTALL_DATA} ${WRKSRC}/CalDate.inc ${PREFIX}/share/jday
	${INSTALL_DATA} ${WRKSRC}/CalDate.pm ${PREFIX}/share/jday
	${INSTALL_DATA} ${WRKSRC}/J2D.pl ${PREFIX}/share/jday
	${INSTALL_DATA} ${WRKSRC}/Jday.php ${PREFIX}/share/jday
	${INSTALL_DATA} ${WRKSRC}/Jday.pl ${PREFIX}/share/jday
	${INSTALL_DATA} ${WRKSRC}/dbd.awk ${PREFIX}/share/jday
	${INSTALL_DATA} ${WRKSRC}/jday.awk ${PREFIX}/share/jday

.include "../../mk/bsd.pkg.mk"