mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- 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)
This commit is contained in:
parent
198d84a086
commit
afb60fdf54
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224515
@ -7,17 +7,17 @@
|
||||
|
||||
PORTNAME= inadyn
|
||||
PORTVERSION= 1.96.2
|
||||
PORTREVISION= 1
|
||||
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}
|
||||
EXTRACT_SUFX= .zip
|
||||
|
||||
MAINTAINER= samm@os2.kiev.ua
|
||||
COMMENT= INADYN - Simple DYNAMIC DNS client
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
USE_RC_SUBR= inadyn
|
||||
USE_ZIP= yes
|
||||
USE_DOS2UNIX= yes
|
||||
USE_GMAKE= yes
|
||||
@ -32,6 +32,9 @@ 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" \
|
||||
|
34
dns/inadyn/files/inadyn.in
Normal file
34
dns/inadyn/files/inadyn.in
Normal file
@ -0,0 +1,34 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PROVIDE: inadyn
|
||||
# REQUIRE: NETWORKING
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
|
||||
# to enable this service:
|
||||
#
|
||||
# inadyn_enable="YES"
|
||||
#
|
||||
# Reccomend using the inadyn.conf over inadyn_flags. However, inadyn_flags will
|
||||
# take priority the configuration file by upstream's design. Any command
|
||||
# line arguement (and thus inadyn_flags) will cause inadyn.conf to be ignored
|
||||
# completely.
|
||||
# See inadyn(8) for inadyn_flags and inadyn.conf syntax.
|
||||
#
|
||||
# Don't forget to include --background in either method!
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="inadyn"
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
command=%%PREFIX%%/bin/${name}
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${inadyn_enable="NO"}
|
||||
|
||||
run_rc_command "$1"
|
Loading…
Reference in New Issue
Block a user