1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/dns/inadyn/Makefile
Rong-En Fan afb60fdf54 - Add rc script (rename WRKSRC to avoid name conflict)
- Remove EXTRACT_SUFX as it uses USE_ZIP which automatically sets EXTRACT_SUFX
- Bump PORTREVISION

PR:		ports/129812
Submitted by:	Joseph S. Atkinson <jsatkinson at embarqmail.com>
Approved by:	Alex Samorukov <samm at os2.kiev.ua> (maintainer)
2008-12-21 10:24:54 +00:00

54 lines
1.3 KiB
Makefile

# New ports collection makefile for: inadyn
# Date created: 9 September 2005
# Whom: Alex Samorukov <samm@os2.kiev.ua>
#
# $FreeBSD$
#
PORTNAME= inadyn
PORTVERSION= 1.96.2
PORTREVISION= 2
CATEGORIES= dns
MASTER_SITES= http://inadyn.ina-tech.net/ \
http://www.mirrorservice.org/sites/ftp.freebsd.org/pub/FreeBSD/ports/distfiles/
DISTNAME= ${PORTNAME}.v${PORTVERSION}
MAINTAINER= samm@os2.kiev.ua
COMMENT= INADYN - Simple DYNAMIC DNS client
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_RC_SUBR= inadyn
USE_ZIP= yes
USE_DOS2UNIX= yes
USE_GMAKE= yes
MAKEFILE= makefile
MAN8= inadyn.8
MAN5= inadyn.conf.5
MANCOMPRESSED= no
PORTDOCS= readme.html
PLIST_FILES= bin/inadyn
NO_INSTALL_MANPAGES=yes
post-extract:
${MV} ${WRKDIR}/${PORTNAME} ${WRKDIR}/${PORTNAME}-${PORTVERSION}
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 !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
${INSTALL_SCRIPT} ${WRKSRC}/bin/linux/inadyn ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/man/inadyn.8 ${MANPREFIX}/man/man8
${INSTALL_SCRIPT} ${WRKSRC}/man/inadyn.conf.5 ${MANPREFIX}/man/man5
.include <bsd.port.mk>