1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/sysutils/clockspeed/Makefile
Maxim Sobolev df6c5fd47c Add clockspeed - a program which uses a hardware tick counter to compensate
for a persistently fast or slow system clock. It also could be used to
synchronize time across LAN or WAN.

PR:		19349
Submitted by:	Mario Sergio Fujikawa Ferreira <lioux@uol.com.br>
2000-07-07 14:30:01 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: clockspeed
# Date created: 16 June 2000
# Whom: Mario S F Ferreira <lioux@linf.unb.br> et al.
#
# $FreeBSD$
#
PORTNAME= clockspeed
PORTVERSION= 0.62
CATEGORIES= sysutils
MASTER_SITES= http://cr.yp.to/clockspeed/
MAINTAINER= lioux@linf.unb.br
LIB_DEPENDS= tai.1:${PORTSDIR}/devel/libtai
ALL_TARGET= it
INSTALL_TARGET= setup check
MAN1= clockadd.1 clockspeed.1 clockview.1 sntpclock.1 \
taiclock.1 taiclockd.1
.if defined(NOPORTDOCS)
PLIST_SUB+= PORTDOCS:="@comment "
.else
PLIST_SUB+= PORTDOCS:=
.endif
do-configure:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/INSTALL
@${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
@${ECHO} ${CC} -s -L${LOCALBASE}/lib > ${WRKSRC}/conf-ld
@${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
post-install:
.if !defined(NOPORTDOCS)
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \
${PREFIX}/share/doc/clockspeed
@${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/clockspeed
.endif
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \
${PREFIX}/etc/clockspeed
.include <bsd.port.mk>