mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
Stagify, use @sample.
Approved by: portmgr@ (blanket approval)
This commit is contained in:
parent
0576e8db70
commit
cc8773c253
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359430
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user