1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/sysutils/clockspeed/Makefile
Will Andrews 5ccbc2a8ac Update to sync with bsd.port.mk rev 1.361 - use PORTDOCS that is now in
bsd.port.mk, for easy removal of documentation.  I left alone one port -
japanese/elisa8x8 (or something like that), because it appeared to have
some rather weird way of doing PORTDOCS substitution.
2001-01-16 19:08:45 +00:00

40 lines
1003 B
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
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://cr.yp.to/clockspeed/
MAINTAINER= lioux@FreeBSD.org
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>