1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/dns/inadyn/Makefile
Andrej Zverev 2accb24ffc - Trim Makefile header
- Improve COMMENT and pkg-descr
- Remove obsolete knob NO_INSTALL_MANPAGES
- NOPORTDOCS -> PORT_OPTIONS:MDOCS

PR:		ports/178979
Submitted by: 	Kevin Zheng <kevinz5000@gmail.com>
Approved by:	maintainer (timeout)
2013-06-17 06:22:19 +00:00

51 lines
1.1 KiB
Makefile

# Created by: Alex Samorukov <samm@os2.kiev.ua>
# $FreeBSD$
PORTNAME= inadyn
PORTVERSION= 1.96.2
PORTREVISION= 3
CATEGORIES= dns
MASTER_SITES= http://www.inatech.eu/inadyn/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= dhn
DISTNAME= ${PORTNAME}.v${PORTVERSION}
MAINTAINER= samm@os2.kiev.ua
COMMENT= Dynamic DNS update client
USE_RC_SUBR= inadyn
USE_ZIP= yes
USE_DOS2UNIX= yes
USE_GMAKE= yes
MAKEFILE= makefile
MAN5= inadyn.conf.5
MAN8= inadyn.8
PORTDOCS= readme.html
PLIST_FILES= bin/inadyn
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-extract:
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
post-patch:
@${REINPLACE_CMD} -e 's|gcc|$$\(CC\)|g' ${WRKSRC}/makefile
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" \
${WRKSRC}/man/inadyn.8 ${WRKSRC}/readme.html \
${WRKSRC}/src/dyndns.h
do-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} -p ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
${INSTALL_PROGRAM} ${WRKSRC}/bin/linux/inadyn ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/inadyn.8 ${MANPREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/man/inadyn.conf.5 ${MANPREFIX}/man/man5
.include <bsd.port.mk>