mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
8c253efa55
- Use INSTALL_MAN for the man files and respect NO_INSTALL_MANPAGESÂ knob - Use INSTALL_DATA for PORTDOCS file - Hide post-extract and post-patch procedure - Bump PORTREVISION PR: ports/163942 [1] Submitted by: Garrett Cooper <yanegomi AT gmail.com> [1] Approved by: maintainer via private mail
56 lines
1.3 KiB
Makefile
56 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= 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= INADYN - Simple DYNAMIC DNS client
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
USE_RC_SUBR= inadyn
|
|
USE_ZIP= yes
|
|
USE_DOS2UNIX= yes
|
|
USE_GMAKE= yes
|
|
MAKEFILE= makefile
|
|
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
MAN8= inadyn.8
|
|
MAN5= inadyn.conf.5
|
|
.endif
|
|
|
|
PORTDOCS= readme.html
|
|
PLIST_FILES= bin/inadyn
|
|
|
|
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_DATA} -p ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/linux/inadyn ${PREFIX}/bin
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
${INSTALL_MAN} ${WRKSRC}/man/inadyn.8 ${MANPREFIX}/man/man8
|
|
${INSTALL_MAN} ${WRKSRC}/man/inadyn.conf.5 ${MANPREFIX}/man/man5
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|