pkgsrc/net/inadyn/Makefile
rillig 9637f7852e all: migrate homepages from http to https
pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
2020-01-26 17:30:40 +00:00

56 lines
1.3 KiB
Makefile

# $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"