1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/dns/noip/Makefile
Alexey Dokuchaev 35f74fbe2e - Convert to option helper install target (add OPTIONS_DEFINE=DOCS
when it was missing)
- Invoke INSTALL_DATA where appropriate instead of INSTALL_MAN
- Fix some whitespace and formatting bugs along the way
2018-01-11 18:09:00 +00:00

42 lines
868 B
Makefile

# Created by: Eyal Soha <esoha@attbi.com>
# $FreeBSD$
PORTNAME= noip
PORTVERSION= 2.1.9
PORTREVISION= 4
CATEGORIES= dns
MASTER_SITES= http://www.no-ip.com/client/linux/ \
LOCAL/ehaupt
MAINTAINER= sthalik@tehran.lain.pl
COMMENT= No-IP.com's dynamic DNS update client
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
ALL_TARGET= noip2
SUB_FILES= pkg-message
USE_RC_SUBR= noip
USERS= noip
GROUPS= noip
PLIST_SUB= USER="${USERS}"
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/noip2 ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.FIRST ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}
conf:
(cd ${PREFIX}/etc && ${PREFIX}/bin/noip2 -C)
${CHOWN} noip:noip ${PREFIX}/etc/no-ip2.conf
${CHMOD} 0600 ${PREFIX}/etc/no-ip2.conf
.include <bsd.port.mk>