blob: d96f0506e9e88d751201eff3c5814598924792c8 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Created by: William Grzybowski <william88@gmail.com>
# $FreeBSD$
PORTNAME= inadyn-mt
PORTVERSION= 02.24.38
CATEGORIES= dns
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}.v.${PORTVERSION}/
DISTNAME= ${PORTNAME}.v.${PORTVERSION}
MAINTAINER= wg@FreeBSD.org
COMMENT= Simple dynamic dns client
LICENSE= GPLv3
USE_RC_SUBR= inadyn-mt
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-sound
MAN8= inadyn-mt.8
MAN5= inadyn-mt.conf.5
PORTDOCS= readme.html AUTHORS README
PORTEXAMPLES= *
PLIST_DIRS= etc/inadyn-mt/lang
PLIST_DIRSTRY= etc/inadyn-mt
PLIST_FILES= bin/inadyn-mt etc/inadyn-mt/lang/en.lng
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" \
${WRKSRC}/man/inadyn-mt.8 ${WRKSRC}/readme.html \
${WRKSRC}/src/dyndns.h
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/inadyn-mt.conf ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|