f4a0279a0b
-- libtai is a library for storing and manipulating dates and times. libtai supports two time scales: (1) TAI64, covering a few hundred billion years with 1-second precision; (2) TAI64NA, covering the same period with 1-attosecond precision. Both scales are defined in terms of TAI, the current international real time standard. Submitted by Brian J. Kifiak <bk@rt.fm> checked by wilfried@ (thanks!)
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2001/04/16 20:14:24 lebel Exp $
|
|
|
|
COMMENT= "library for storing and manipulating dates and times"
|
|
|
|
DISTNAME= libtai-0.60
|
|
HOMEPAGE= http://cr.yp.to/libtai.html
|
|
|
|
CATEGORIES= devel
|
|
NEED_VERSION= 1.395
|
|
MAINTAINER= Brian J. Kifiak <bk@rt.fm>
|
|
|
|
MASTER_SITES= http://cr.yp.to/libtai/
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
ALL_TARGET= default
|
|
|
|
HDRLIST= caldate.h caltime.h leapsecs.h tai.h taia.h
|
|
|
|
MANLIST= tai.3 tai_now.3 tai_pack.3 taia.3 taia_now.3 taia_pack.3 \
|
|
caldate.3 caldate_mjd.3 caltime.3 caltime_tai.3 leapsecs.3
|
|
|
|
PROGLIST= easter leapsecs nowutc yearcal
|
|
|
|
pre-build:
|
|
@echo ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/libtai.a ${PREFIX}/lib/
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/libtai/
|
|
${INSTALL_DATA} ${WRKSRC}/leapsecs.dat ${PREFIX}/share/libtai/
|
|
(cd ${WRKSRC}; ${INSTALL_DATA} ${HDRLIST} ${PREFIX}/include/; \
|
|
${INSTALL_MAN} ${MANLIST} ${PREFIX}/man/man3/; \
|
|
${INSTALL_PROGRAM} ${PROGLIST} ${PREFIX}/bin/)
|
|
|
|
.include <bsd.port.mk>
|