aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-12-03 21:33:36 +0000
committerRene Ladan <rene@FreeBSD.org>2013-12-03 21:33:36 +0000
commitdfdd404bbd49125e2e05e604ec0e2cae452a4df2 (patch)
tree7080134d0f7ebf9db325094545e710292fc52316 /comms
parentce4019f97eff85ab95603514659c2933d405b20e (diff)
downloadports-dfdd404bbd49125e2e05e604ec0e2cae452a4df2.tar.gz
ports-dfdd404bbd49125e2e05e604ec0e2cae452a4df2.zip
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/dcf77pi/Makefile14
-rw-r--r--comms/dcf77pi/distinfo4
-rw-r--r--comms/dcf77pi/pkg-plist2
3 files changed, 8 insertions, 12 deletions
diff --git a/comms/dcf77pi/Makefile b/comms/dcf77pi/Makefile
index 0af6cb3afef7..7596ae1dcdd2 100644
--- a/comms/dcf77pi/Makefile
+++ b/comms/dcf77pi/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= dcf77pi
-PORTVERSION= 1.0.5
+PORTVERSION= 1.1.0
CATEGORIES= comms
MAINTAINER= rene@FreeBSD.org
@@ -12,21 +12,19 @@ LICENSE= BSD
USE_GITHUB= yes
GH_ACCOUNT= rene0
-GH_COMMIT= f5b0c0d
+GH_COMMIT= 82252fd
MAKE_ARGS= FULLPREFIX="${STAGEDIR}${PREFIX}"
-OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.options.mk>
+PORTDOCS= README.md
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dcf77pi
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/readpin
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
-.endif
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
+.endfor
if [ ! -f ${ETCDIR}/config.txt ] ; then \
${CP} -p ${STAGEDIR}${ETCDIR}/config.txt.sample ${STAGEDIR}${ETCDIR}/config.txt ; \
fi
diff --git a/comms/dcf77pi/distinfo b/comms/dcf77pi/distinfo
index 100202bfec82..526bad98ebd4 100644
--- a/comms/dcf77pi/distinfo
+++ b/comms/dcf77pi/distinfo
@@ -1,2 +1,2 @@
-SHA256 (dcf77pi-1.0.5.tar.gz) = 8515ed0fae015a3f81239e2605e5b4170f44d6faee169d29c5fd7c8ff2e79bd7
-SIZE (dcf77pi-1.0.5.tar.gz) = 11755
+SHA256 (dcf77pi-1.1.0.tar.gz) = e2f8284228c49cb385d3479bd3f14cf39b205ad6a69d5f6bf55a5ed1f2f2a000
+SIZE (dcf77pi-1.1.0.tar.gz) = 11976
diff --git a/comms/dcf77pi/pkg-plist b/comms/dcf77pi/pkg-plist
index 1fa3296dc0a0..6dfcd1107864 100644
--- a/comms/dcf77pi/pkg-plist
+++ b/comms/dcf77pi/pkg-plist
@@ -1,8 +1,6 @@
bin/dcf77pi
bin/readpin
-%%PORTDOCS%%%%DOCSDIR%%/README.md
@unexec if cmp -s %D/etc/dcf77pi/config.txt.sample %D/etc/dcf77pi/config.txt ; then rm -f %D/etc/dcf77pi/config.txt ; fi
etc/dcf77pi/config.txt.sample
@exec if [ ! -f %D/etc/dcf77pi/config.txt ] ; then cp -p %D/%F %B/config.txt ; fi
@dirrmtry %%ETCDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%