mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
c0f7fcb6ec
Changelog: https://github.com/troglobit/inadyn/blob/master/ChangeLog.md Approved by: krion (mentor) Differential Revision: https://reviews.freebsd.org/D25011
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# Created by: Alex Samorukov <samm@freebsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= inadyn
|
|
PORTVERSION= 2.7
|
|
CATEGORIES= dns
|
|
MASTER_SITES= https://github.com/troglobit/${PORTNAME}/releases/download/v${PORTVERSION}/
|
|
|
|
MAINTAINER= samm@FreeBSD.org
|
|
COMMENT= Dynamic DNS update client
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libconfuse.so:devel/libconfuse
|
|
RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss
|
|
|
|
USES= pkgconfig tar:xz
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USERS= inadyn
|
|
GROUPS= inadyn
|
|
|
|
USE_RC_SUBR= inadyn
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
OPTIONS_DEFAULT= OPENSSL
|
|
OPTIONS_SINGLE= TLS
|
|
OPTIONS_SINGLE_TLS= GNUTLS OPENSSL
|
|
|
|
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
|
|
OPENSSL_USES= ssl
|
|
OPENSSL_CONFIGURE_ENABLE= openssl
|
|
OPENSSL_CONFIGURE_ON= OpenSSL_CFLAGS=-I${OPENSSLINC} OpenSSL_LIBS="-L${OPENSSLLIB} -lssl"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" \
|
|
${WRKSRC}/man/inadyn.8 ${WRKSRC}/man/inadyn.conf.5 \
|
|
${WRKSRC}/examples/README.md ${WRKSRC}/examples/inadyn.conf
|
|
|
|
post-install:
|
|
${MV} ${STAGEDIR}${DOCSDIR}/examples ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${STAGEDIR}${EXAMPLESDIR}/inadyn.conf ${STAGEDIR}${PREFIX}/etc/inadyn.conf.sample
|
|
${MKDIR} ${STAGEDIR}/var/cache/inadyn
|
|
${MKDIR} ${STAGEDIR}/var/run/inadyn
|
|
|
|
.include <bsd.port.mk>
|