summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2009-07-17 18:39:07 +0000
committerpgollucci <pgollucci@FreeBSD.org>2009-07-17 18:39:07 +0000
commitb5504e8fb07cb543baf958697ecfd01c8e9de88a (patch)
tree93a3b5dfc8fc2605e21c4b829b1bf8d8e84cf5dd
parent79b61ef6b8715c0e8a4754dbe6ba358088fa681d (diff)
downloadFreeBSD-ports-b5504e8fb07cb543baf958697ecfd01c8e9de88a.zip
FreeBSD-ports-b5504e8fb07cb543baf958697ecfd01c8e9de88a.tar.gz
- USE_RC_SUBR != yes
(rename .sh -> .in) PR: ports/136844 Approved by: maintainer Submitted by: myself (pgollucci@)
-rw-r--r--net/dhcprelay/Makefile7
-rw-r--r--net/dhcprelay/files/dhcprelay.in (renamed from net/dhcprelay/files/dhcprelay.sh.in)2
2 files changed, 4 insertions, 5 deletions
diff --git a/net/dhcprelay/Makefile b/net/dhcprelay/Makefile
index 36f17e2..fc9e568 100644
--- a/net/dhcprelay/Makefile
+++ b/net/dhcprelay/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dhcprelay
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.mavetju.org/download/
@@ -15,12 +16,10 @@ COMMENT= Lightweight DHCP Relay Agent with GIF tunnel support
LIB_DEPENDS= dnet.1:${PORTSDIR}/net/libdnet
-PLIST_FILES= bin/dhcprelay etc/rc.d/dhcprelay.sh
-USE_RC_SUBR= yes
-SUB_FILES= dhcprelay.sh
+PLIST_FILES= bin/dhcprelay
+USE_RC_SUBR= ${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dhcprelay ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKDIR}/dhcprelay.sh ${PREFIX}/etc/rc.d
.include <bsd.port.mk>
diff --git a/net/dhcprelay/files/dhcprelay.sh.in b/net/dhcprelay/files/dhcprelay.in
index 4213890..d0f7db6 100644
--- a/net/dhcprelay/files/dhcprelay.sh.in
+++ b/net/dhcprelay/files/dhcprelay.in
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/net/dhcprelay/files/Attic/dhcprelay.sh.in,v 1.3 2006-03-21 02:48:21 edwin Exp $
+# $FreeBSD$
#
# PROVIDE: dhcprelay
# REQUIRE: DAEMON
OpenPOWER on IntegriCloud