aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/geomWatch
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-27 09:39:04 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-27 09:39:04 +0800
commitd00415680d897f3c9d05b4e058634e16093d1dce (patch)
tree2d8628ebeadf88dbf59b5621662a8b5fb98d9672 /sysutils/geomWatch
parent2ec39b00a352acb4e438a4e401bd14f797bd7f75 (diff)
downloadfreebsd-ports-gnome-d00415680d897f3c9d05b4e058634e16093d1dce.tar.gz
freebsd-ports-gnome-d00415680d897f3c9d05b4e058634e16093d1dce.tar.zst
freebsd-ports-gnome-d00415680d897f3c9d05b4e058634e16093d1dce.zip
Stagify, use @sample.
Approved by: portmgr@ (blanket approval)
Diffstat (limited to 'sysutils/geomWatch')
-rw-r--r--sysutils/geomWatch/Makefile10
-rw-r--r--sysutils/geomWatch/pkg-plist4
2 files changed, 2 insertions, 12 deletions
diff --git a/sysutils/geomWatch/Makefile b/sysutils/geomWatch/Makefile
index eb196f92af6c..0ecbd8e0bc60 100644
--- a/sysutils/geomWatch/Makefile
+++ b/sysutils/geomWatch/Makefile
@@ -12,13 +12,12 @@ EXTRACT_SUFX= .tbz
MAINTAINER= spawk@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>
diff --git a/sysutils/geomWatch/pkg-plist b/sysutils/geomWatch/pkg-plist
index 95318307db5b..58d72ed55dc8 100644
--- a/sysutils/geomWatch/pkg-plist
+++ b/sysutils/geomWatch/pkg-plist
@@ -1,4 +1,2 @@
+@sample etc/geomWatch.conf.sample
sbin/geomWatch
-@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
-@exec if [ ! -f %D/etc/geomWatch.conf ] ; then cp -p %D/%F %B/geomWatch.conf; fi