diff options
author | anray <anray@FreeBSD.org> | 2005-12-16 23:22:05 +0800 |
---|---|---|
committer | anray <anray@FreeBSD.org> | 2005-12-16 23:22:05 +0800 |
commit | 2d3c4347dc694988fd1b40a3bba625eb78a33538 (patch) | |
tree | ccfa826a1e0de09350d6b37694e42212d3fdb945 /sysutils/epylog | |
parent | 1621f66e548f681b11c6342582f16308d78732f4 (diff) | |
download | freebsd-ports-graphics-2d3c4347dc694988fd1b40a3bba625eb78a33538.tar.gz freebsd-ports-graphics-2d3c4347dc694988fd1b40a3bba625eb78a33538.tar.zst freebsd-ports-graphics-2d3c4347dc694988fd1b40a3bba625eb78a33538.zip |
Variable CONF_FILES is changed to LOCAL_CONF_FILES.
PR: ports/90457
Submitted by: maintainer
Approved by: sem(mentor)
Diffstat (limited to 'sysutils/epylog')
-rw-r--r-- | sysutils/epylog/Makefile | 4 | ||||
-rw-r--r-- | sysutils/epylog/files/pkg-deinstall.in | 2 | ||||
-rw-r--r-- | sysutils/epylog/files/pkg-install.in | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/epylog/Makefile b/sysutils/epylog/Makefile index 480a41329a3..4c7f2b1f8a2 100644 --- a/sysutils/epylog/Makefile +++ b/sysutils/epylog/Makefile @@ -28,7 +28,7 @@ CONFIGURE_ARGS= --with-lynx=${LOCALBASE}/bin/lynx USE_PERL5= yes USE_PYTHON= yes -CONF_FILES= epylog.conf \ +LOCAL_CONF_FILES= epylog.conf \ modules.d/logins.conf \ modules.d/mail.conf \ modules.d/notices.conf \ @@ -40,7 +40,7 @@ CONF_FILES= epylog.conf \ weed_local.cf SUB_FILES= pkg-install pkg-deinstall -SUB_LIST= CONF_FILES="${CONF_FILES}" +SUB_LIST= LOCAL_CONF_FILES="${LOCAL_CONF_FILES}" post-patch: @${REINPLACE_CMD} -e 's|$$sysconfdir/cron\.daily|$$sysconfdir/epylog|' \ diff --git a/sysutils/epylog/files/pkg-deinstall.in b/sysutils/epylog/files/pkg-deinstall.in index 3d4a699f4e8..07fc8370916 100644 --- a/sysutils/epylog/files/pkg-deinstall.in +++ b/sysutils/epylog/files/pkg-deinstall.in @@ -2,7 +2,7 @@ [ "$2" != "DEINSTALL" ] && exit 0 -for f in %%CONF_FILES%%; do +for f in %%LOCAL_CONF_FILES%%; do if cmp -s "${PKG_PREFIX}/etc/epylog/$f" "${PKG_PREFIX}/etc/epylog/$f.default"; then rm -f "${PKG_PREFIX}/etc/epylog/$f" fi diff --git a/sysutils/epylog/files/pkg-install.in b/sysutils/epylog/files/pkg-install.in index e5230d62f16..9af57bcbcf0 100644 --- a/sysutils/epylog/files/pkg-install.in +++ b/sysutils/epylog/files/pkg-install.in @@ -2,7 +2,7 @@ [ "$2" != "POST-INSTALL" ] && exit 0 -for f in %%CONF_FILES%%; do +for f in %%LOCAL_CONF_FILES%%; do if ! [ -f "${PKG_PREFIX}/etc/epylog/$f" ]; then cp -p "${PKG_PREFIX}/etc/epylog/$f.default" "${PKG_PREFIX}/etc/epylog/$f" fi |