svn commit: r359430 - head/sysutils/geomWatch
Vanilla I. Shu
vanilla at FreeBSD.org
Fri Jun 27 01:39:05 UTC 2014
Author: vanilla
Date: Fri Jun 27 01:39:04 2014
New Revision: 359430
URL: http://svnweb.freebsd.org/changeset/ports/359430
QAT: https://qat.redports.org/buildarchive/r359430/
Log:
Stagify, use @sample.
Approved by: portmgr@ (blanket approval)
Modified:
head/sysutils/geomWatch/Makefile
head/sysutils/geomWatch/pkg-plist
Modified: head/sysutils/geomWatch/Makefile
==============================================================================
--- head/sysutils/geomWatch/Makefile Fri Jun 27 01:31:51 2014 (r359429)
+++ head/sysutils/geomWatch/Makefile Fri Jun 27 01:39:04 2014 (r359430)
@@ -12,13 +12,12 @@ EXTRACT_SUFX= .tbz
MAINTAINER= spawk at acm.poly.edu
COMMENT= Watches for and e-mails admins about GEOM/ZFS state changes
-LIB_DEPENDS= esmtp.7:${PORTSDIR}/mail/libesmtp
+LIB_DEPENDS= libesmtp.so:${PORTSDIR}/mail/libesmtp
SUB_FILES= pkg-message
USE_RC_SUBR= ${PORTNAME}
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700036
@@ -34,11 +33,4 @@ MAKE_ARGS+= WITH_ZFS=13
MAKE_ARGS+= WITH_ZFS=28
.endif
-post-install:
- @if [ ! -f ${PREFIX}/etc/${PORTNAME}.conf ]; then \
- ${CP} -p ${PREFIX}/etc/${PORTNAME}.conf.sample \
- ${PREFIX}/etc/${PORTNAME}.conf ; \
- fi
- @${CAT} ${PKGMESSAGE}
-
.include <bsd.port.post.mk>
Modified: head/sysutils/geomWatch/pkg-plist
==============================================================================
--- head/sysutils/geomWatch/pkg-plist Fri Jun 27 01:31:51 2014 (r359429)
+++ head/sysutils/geomWatch/pkg-plist Fri Jun 27 01:39:04 2014 (r359430)
@@ -1,4 +1,2 @@
+ at sample etc/geomWatch.conf.sample
sbin/geomWatch
- at unexec if cmp -s %D/etc/geomWatch.conf.sample %D/etc/geomWatch.conf; then rm -f %D/etc/geomWatch.conf; fi
-etc/geomWatch.conf.sample
- at exec if [ ! -f %D/etc/geomWatch.conf ] ; then cp -p %D/%F %B/geomWatch.conf; fi
More information about the svn-ports-all
mailing list