aboutsummaryrefslogtreecommitdiff
path: root/net/sixxs-aiccu
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-15 16:36:19 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-15 16:36:19 +0000
commitfe8d1fdffc8744dc492ff03195fa934829ea8d18 (patch)
tree8fce1af7fca7567229bb13031cdb8b292f10c94e /net/sixxs-aiccu
parent7fa6b0dae2495fff010d44ff65f97ca52817c4fe (diff)
downloadports-fe8d1fdffc8744dc492ff03195fa934829ea8d18.tar.gz
ports-fe8d1fdffc8744dc492ff03195fa934829ea8d18.zip
Notes
Diffstat (limited to 'net/sixxs-aiccu')
-rw-r--r--net/sixxs-aiccu/Makefile8
-rw-r--r--net/sixxs-aiccu/pkg-plist4
2 files changed, 4 insertions, 8 deletions
diff --git a/net/sixxs-aiccu/Makefile b/net/sixxs-aiccu/Makefile
index 38061e6e9345..6b2bcc5bf4cd 100644
--- a/net/sixxs-aiccu/Makefile
+++ b/net/sixxs-aiccu/Makefile
@@ -27,8 +27,8 @@ WRKSRC= ${WRKDIR}/aiccu
BUILD_WRKSRC= ${WRKDIR}/aiccu/unix-console
PORTDOCS= README
-OPTIONS_DEFINE= LOG_DAEMON
-LOG_DAEMON_DESC= log to LOG_DAEMON instead to LOG_LOCAL7
+OPTIONS_DEFINE= LOG_DAEMON DOCS
+LOG_DAEMON_DESC=Log to LOG_DAEMON instead to LOG_LOCAL7
post-patch:
@${REINPLACE_CMD} \
@@ -51,10 +51,8 @@ do-configure:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unix-console/aiccu ${STAGEDIR}${PREFIX}/sbin/sixxs-aiccu
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/README ${STAGEDIR}${DOCSDIR}/
-.endif
+ ${INSTALL_DATA} ${WRKSRC}/doc/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/aiccu.conf ${STAGEDIR}${PREFIX}/etc/aiccu.conf.sample
.include <bsd.port.mk>
diff --git a/net/sixxs-aiccu/pkg-plist b/net/sixxs-aiccu/pkg-plist
index b13005b06d12..c8824a91256f 100644
--- a/net/sixxs-aiccu/pkg-plist
+++ b/net/sixxs-aiccu/pkg-plist
@@ -1,4 +1,2 @@
-@unexec if cmp -s %D/etc/aiccu.conf %D/etc/aiccu.conf.sample; then rm -f %D/etc/aiccu.conf; fi
-etc/aiccu.conf.sample
-@exec [ -f %B/aiccu.conf ] || install -m 0644 %B/%f %B/aiccu.conf
+@sample etc/aiccu.conf.sample
sbin/sixxs-aiccu