1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/dns/noip/Makefile
Dmitry Marakasov 7dbbe71810 - Make pkg-message more useful
- While here, fix license and remove unneeded PKGMESSAGE line (PKGMESSAGE is set by SUB_FILES)

PR:		212637
Submitted by:	dalescott@shaw.ca
Approved by:	sthalik@tehran.lain.pl (maintainer)
2016-09-13 16:41:08 +00:00

40 lines
844 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
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.FIRST ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${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>