[109614] trunk/dports/sysutils/logrotate
pixilla at macports.org
pixilla at macports.org
Sun Aug 18 10:44:43 PDT 2013
Revision: 109614
https://trac.macports.org/changeset/109614
Author: pixilla at macports.org
Date: 2013-08-18 10:44:43 -0700 (Sun, 18 Aug 2013)
Log Message:
-----------
sysutils/logrotate:
- Add .PHONY targets to Makefile to avoid target files like INSTALL.
- Consolidate variants into same area of Portfile.
- Fix path to default mail command.
Modified Paths:
--------------
trunk/dports/sysutils/logrotate/Portfile
trunk/dports/sysutils/logrotate/files/patch-Makefile.diff
Modified: trunk/dports/sysutils/logrotate/Portfile
===================================================================
--- trunk/dports/sysutils/logrotate/Portfile 2013-08-18 16:59:52 UTC (rev 109613)
+++ trunk/dports/sysutils/logrotate/Portfile 2013-08-18 17:44:43 UTC (rev 109614)
@@ -5,6 +5,7 @@
name logrotate
version 3.8.6
+revision 1
categories sysutils
platforms darwin
license GPL-2
@@ -48,15 +49,13 @@
use_configure no
-variant universal {}
-
build.env-append CC="${configure.cc} [get_canonical_archflags]" \
CXX="${configure.cxx} [get_canonical_archflags]" \
CPP="${configure.cpp} [get_canonical_archflags]" \
BASEDIR="${prefix}" \
POPT_DIR="${prefix}" \
STATEFILE="${prefix}/var/run/logrotate/logrotate.status" \
- DEFAULT_MAIL_COMMAND="/usr/sbin/mail"
+ DEFAULT_MAIL_COMMAND="/usr/bin/mail"
destroot.args INSTALL="install" \
BINDIR="${destroot}${prefix}/sbin" \
@@ -115,6 +114,8 @@
variant startupitem description {Install launchd plist} {
}
+variant universal {}
+
if {![variant_isset bzip2]} {
default_variants-append \
+gzip
Modified: trunk/dports/sysutils/logrotate/files/patch-Makefile.diff
===================================================================
--- trunk/dports/sysutils/logrotate/files/patch-Makefile.diff 2013-08-18 16:59:52 UTC (rev 109613)
+++ trunk/dports/sysutils/logrotate/files/patch-Makefile.diff 2013-08-18 17:44:43 UTC (rev 109614)
@@ -1,5 +1,5 @@
---- a/Makefile 2013-08-17 08:56:24.000000000 -0700
-+++ b/Makefile 2013-08-17 08:56:12.000000000 -0700
+--- a/Makefile 2013-08-18 10:39:54.000000000 -0700
++++ b/Makefile 2013-08-18 10:40:08.000000000 -0700
@@ -82,14 +82,30 @@
endif
@@ -33,3 +33,12 @@
BINDIR = $(BASEDIR)/sbin
MANDIR ?= $(BASEDIR)/man
+@@ -133,7 +149,7 @@
+ echo "$(TEST_ACL)" > ./test/test.ACL ;
+ echo "$(TEST_SELINUX)" > ./test/test.SELINUX ;
+
+-.PHONY : test
++.PHONY: all clean depend pretest test install co svntag create-archive archive
+ test: $(TARGET)
+ (cd test; ./test)
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130818/1f8baf5f/attachment.html>
More information about the macports-changes
mailing list