From f0d9f58b7f1825fb95236f427a6400ad54ad4b5e Mon Sep 17 00:00:00 2001 From: dougb Date: Sun, 5 Aug 2012 23:19:36 +0000 Subject: Move the rc.d scripts of the form *.sh.in to *.in Where necessary add $FreeBSD$ to the file No PORTREVISION bump necessary because this is a no-op --- dns/ez-ipupdate/Makefile | 2 +- dns/ez-ipupdate/files/ez-ipupdate.in | 33 +++++++++++++++++++++++++++++++++ dns/ez-ipupdate/files/ez-ipupdate.sh.in | 33 --------------------------------- 3 files changed, 34 insertions(+), 34 deletions(-) create mode 100644 dns/ez-ipupdate/files/ez-ipupdate.in delete mode 100644 dns/ez-ipupdate/files/ez-ipupdate.sh.in (limited to 'dns/ez-ipupdate') diff --git a/dns/ez-ipupdate/Makefile b/dns/ez-ipupdate/Makefile index 134617547a0b..4aacc06d47e3 100644 --- a/dns/ez-ipupdate/Makefile +++ b/dns/ez-ipupdate/Makefile @@ -16,7 +16,7 @@ MASTER_SITES= http://dyn.pl/client/UNIX/ez-ipupdate/ \ MAINTAINER= ports@FreeBSD.org COMMENT= Update your host name on any dynamic DNS service -USE_RC_SUBR= ez-ipupdate.sh +USE_RC_SUBR= ez-ipupdate GNU_CONFIGURE= yes post-install: diff --git a/dns/ez-ipupdate/files/ez-ipupdate.in b/dns/ez-ipupdate/files/ez-ipupdate.in new file mode 100644 index 000000000000..1209b62e4770 --- /dev/null +++ b/dns/ez-ipupdate/files/ez-ipupdate.in @@ -0,0 +1,33 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: ez-ipupdate +# REQUIRE: +# BEFORE: +# KEYWORD: shutdown + +# Add the following line to /etc/rc.conf to enable ez-ipupdate: +# +#ez_ipupdate_enable="YES" +# + +. /etc/rc.subr + +name=ez_ipupdate +rcvar=ez_ipupdate_enable + +load_rc_config $name + +: ${ez_ipupdate_enable="NO"} +: ${ez_ipupdate_pidfile="/var/run/ez-ipupdate.pid"} +: ${ez_ipupdate_configfile="%%PREFIX%%/etc/ez-ipupdate.conf"} +: ${ez_ipupdate_flags="-d -c $ez_ipupdate_configfile -F $ez_ipupdate_pidfile"} + +command=%%PREFIX%%/bin/ez-ipupdate +pidfile=$ez_ipupdate_pidfile +required_files=$ez_ipupdate_configfile +sig_stop=QUIT + +run_rc_command "$1" diff --git a/dns/ez-ipupdate/files/ez-ipupdate.sh.in b/dns/ez-ipupdate/files/ez-ipupdate.sh.in deleted file mode 100644 index 1209b62e4770..000000000000 --- a/dns/ez-ipupdate/files/ez-ipupdate.sh.in +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: ez-ipupdate -# REQUIRE: -# BEFORE: -# KEYWORD: shutdown - -# Add the following line to /etc/rc.conf to enable ez-ipupdate: -# -#ez_ipupdate_enable="YES" -# - -. /etc/rc.subr - -name=ez_ipupdate -rcvar=ez_ipupdate_enable - -load_rc_config $name - -: ${ez_ipupdate_enable="NO"} -: ${ez_ipupdate_pidfile="/var/run/ez-ipupdate.pid"} -: ${ez_ipupdate_configfile="%%PREFIX%%/etc/ez-ipupdate.conf"} -: ${ez_ipupdate_flags="-d -c $ez_ipupdate_configfile -F $ez_ipupdate_pidfile"} - -command=%%PREFIX%%/bin/ez-ipupdate -pidfile=$ez_ipupdate_pidfile -required_files=$ez_ipupdate_configfile -sig_stop=QUIT - -run_rc_command "$1" -- cgit > FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/devel/hs-say/Makefile
Commit message (Expand)AuthorAgeFilesLines
* Switch C compiler used to compile GHC to base Clang.tcberner2018-02-101-0/+1