aboutsummaryrefslogtreecommitdiffstats
path: root/net/htpdate/Makefile
blob: 34d521672c34b3ebd7ecc6ebb41926bcbb7b0a88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Vsevolod Stakhov <vsevolod@highsecure.ru>
# $FreeBSD$

PORTNAME=   htpdate
PORTVERSION=    1.1.0
CATEGORIES= net ipv6
MASTER_SITES=   http://www.vervest.org/htp/archive/c/ \
        http://twekkel.home.xs4all.nl/htp/

MAINTAINER= jgh@FreeBSD.org
COMMENT=    Time synchronization over http utility

LICENSE=    GPLv2 # (or later)

USE_BZIP2=  yes
MAKE_ARGS=  CC="${CC}" CFLAGS="${CFLAGS}"

MANCOMPRESSED=  yes
PLIST_FILES=    bin/${PORTNAME} man/man8/${PORTNAME}.8.gz
PORTDOCS=   Changelog README
USE_RC_SUBR=    ${PORTNAME}

OPTIONS_DEFINE= DOCS 

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>