mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
94717f5aca
Bump PORTREVISION according to Revision 1.2 of both files/patch-ac and pkg-plist.
46 lines
1.1 KiB
Makefile
46 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
|
|
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
|
|
|
|
.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>
|