2000-07-07 14:30:01 +00:00
|
|
|
# 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
|
2000-11-20 14:48:56 +00:00
|
|
|
PORTREVISION= 1
|
2000-07-07 14:30:01 +00:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://cr.yp.to/clockspeed/
|
|
|
|
|
2000-10-03 05:12:49 +00:00
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
2000-07-07 14:30:01 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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>
|