diff options
author | tdb <tdb@FreeBSD.org> | 2009-07-26 19:25:57 +0800 |
---|---|---|
committer | tdb <tdb@FreeBSD.org> | 2009-07-26 19:25:57 +0800 |
commit | 46c72dd34c8b44a39f3f09dd160a19f3f966adf8 (patch) | |
tree | f901972725aed76840e086a2d7e096e0f9aec646 /sysutils | |
parent | 07e88b1d68b36d55634e8f48a55a0afe1613d741 (diff) | |
download | freebsd-ports-gnome-46c72dd34c8b44a39f3f09dd160a19f3f966adf8.tar.gz freebsd-ports-gnome-46c72dd34c8b44a39f3f09dd160a19f3f966adf8.tar.zst freebsd-ports-gnome-46c72dd34c8b44a39f3f09dd160a19f3f966adf8.zip |
Stop using USE_RC_SUBR=yes.
PR: ports/136852
Submitted by: pgollucci
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/openupsd/Makefile | 10 | ||||
-rw-r--r-- | sysutils/openupsd/files/openupsd.in (renamed from sysutils/openupsd/files/openupsd.sh) | 0 |
2 files changed, 3 insertions, 7 deletions
diff --git a/sysutils/openupsd/Makefile b/sysutils/openupsd/Makefile index c900d8684a7a..34edd4df4acf 100644 --- a/sysutils/openupsd/Makefile +++ b/sysutils/openupsd/Makefile @@ -7,24 +7,20 @@ PORTNAME= openupsd PORTVERSION= 0.3.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://frmb.org/download/ MAINTAINER= tdb@FreeBSD.org COMMENT= A UPS daemon for some Belkin UPS's -USE_RC_SUBR= yes +USE_RC_SUBR= ${PORTNAME} GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-transform-name= --bindir=${PREFIX}/sbin -PLIST_FILES= sbin/openupsd etc/openupsd.conf.sample etc/rc.d/openupsd.sh - -post-extract: - @${SED} -e 's#%%RC_SUBR%%#${RC_SUBR}#g' -e 's#%%PREFIX%%#${PREFIX}#g' \ - ${FILESDIR}/openupsd.sh > ${WRKDIR}/openupsd.sh +PLIST_FILES= sbin/openupsd etc/openupsd.conf.sample post-install: ${INSTALL_DATA} ${WRKSRC}/openupsd.conf ${PREFIX}/etc/openupsd.conf.sample - ${INSTALL_SCRIPT} ${WRKDIR}/openupsd.sh ${PREFIX}/etc/rc.d/ .include <bsd.port.mk> diff --git a/sysutils/openupsd/files/openupsd.sh b/sysutils/openupsd/files/openupsd.in index deb7d677b51b..deb7d677b51b 100644 --- a/sysutils/openupsd/files/openupsd.sh +++ b/sysutils/openupsd/files/openupsd.in |