blob: eb967b8cf2c337a8e6f97a4d766ae8ecb1c02b6f (
plain)
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
50
51
52
53
54
55
56
|
# $NetBSD: Makefile,v 1.18 2020/01/26 17:31:50 rillig Exp $
DISTNAME= inadyn-2.5
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=troglobit/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://troglobit.com/inadyn.html
COMMENT= Dynamic DNS client
LICENSE= gnu-gpl-v2
GITHUB_RELEASE= v2.5
GITHUB_TYPE= release
USE_TOOLS+= gmake pkg-config
RCD_SCRIPTS= inadyn
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-openssl
LIBS.SunOS= -lsocket -lnsl
INSTALLATION_DIRS= sbin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8
INSTALLATION_DIRS+= share/doc/inadyn
OWN_DIRS+= ${VARBASE}/db/inadyn ${VARBASE}/run
BUILD_DEFS+= VARBASE
SUBST_CLASSES+= etc
SUBST_SED.etc= -e "s|/etc|${PKG_SYSCONFDIR}|g"
SUBST_FILES.etc= man/inadyn.conf.5 man/inadyn.8
SUBST_MESSAGE.etc= Fixing path to configuration file
SUBST_STAGE.etc= pre-configure
.include "../../mk/bsd.prefs.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.inadyn
PKG_SUPPORTED_OPTIONS= static
.include "../../mk/bsd.options.mk"
##
## Static link
##
.if !empty(PKG_OPTIONS:Mstatic)
LDFLAGS+= -static
.endif
.include "../../security/openssl/buildlink3.mk"
.include "../../devel/confuse/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libite/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|