diff options
author | Rene Ladan <rene@FreeBSD.org> | 2013-10-28 21:26:33 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2013-10-28 21:26:33 +0000 |
commit | c237320b4e600f13bd618ecde76e37674a5e926a (patch) | |
tree | e1875e1218ee99bde8212af9c87e53436adba84e /comms | |
parent | fea71cbaaf390cd9c34b6ee3388db89c3333b03b (diff) |
Notes
Diffstat (limited to 'comms')
-rw-r--r-- | comms/dcf77pi/Makefile | 10 | ||||
-rw-r--r-- | comms/dcf77pi/distinfo | 4 | ||||
-rw-r--r-- | comms/dcf77pi/files/patch-Makefile | 24 | ||||
-rw-r--r-- | comms/dcf77pi/pkg-plist | 6 |
4 files changed, 11 insertions, 33 deletions
diff --git a/comms/dcf77pi/Makefile b/comms/dcf77pi/Makefile index 764b7a975e65..0af6cb3afef7 100644 --- a/comms/dcf77pi/Makefile +++ b/comms/dcf77pi/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= dcf77pi -PORTVERSION= 1.0.4 +PORTVERSION= 1.0.5 CATEGORIES= comms MAINTAINER= rene@FreeBSD.org @@ -12,7 +12,7 @@ LICENSE= BSD USE_GITHUB= yes GH_ACCOUNT= rene0 -GH_COMMIT= 75f6f04 +GH_COMMIT= f5b0c0d MAKE_ARGS= FULLPREFIX="${STAGEDIR}${PREFIX}" @@ -21,12 +21,14 @@ OPTIONS_DEFINE= DOCS .include <bsd.port.options.mk> 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 - if [ ! -f ${ETCDIR}/hardware.txt ] ; then \ - ${CP} -p ${STAGEDIR}${ETCDIR}/hardware.txt.sample ${STAGEDIR}${ETCDIR}/hardware.txt ; \ + if [ ! -f ${ETCDIR}/config.txt ] ; then \ + ${CP} -p ${STAGEDIR}${ETCDIR}/config.txt.sample ${STAGEDIR}${ETCDIR}/config.txt ; \ fi .include <bsd.port.mk> diff --git a/comms/dcf77pi/distinfo b/comms/dcf77pi/distinfo index 236015326f5d..100202bfec82 100644 --- a/comms/dcf77pi/distinfo +++ b/comms/dcf77pi/distinfo @@ -1,2 +1,2 @@ -SHA256 (dcf77pi-1.0.4.tar.gz) = 98a058f0addcf3c53810bb04ee9539cbb3459f6258dd701aae623d166cf4c264 -SIZE (dcf77pi-1.0.4.tar.gz) = 10126 +SHA256 (dcf77pi-1.0.5.tar.gz) = 8515ed0fae015a3f81239e2605e5b4170f44d6faee169d29c5fd7c8ff2e79bd7 +SIZE (dcf77pi-1.0.5.tar.gz) = 11755 diff --git a/comms/dcf77pi/files/patch-Makefile b/comms/dcf77pi/files/patch-Makefile deleted file mode 100644 index 7a2c9882eb00..000000000000 --- a/comms/dcf77pi/files/patch-Makefile +++ /dev/null @@ -1,24 +0,0 @@ ---- ./Makefile.orig 2013-09-10 17:47:08.000000000 +0200 -+++ ./Makefile 2013-09-28 15:21:45.000000000 +0200 -@@ -1,8 +1,9 @@ - .PHONY: all clean install - - PREFIX?=. --ETCDIR?=$(PREFIX)/etc/dcf77pi --CFLAGS+=-Wall -DETCDIR=\"$(ETCDIR)\" -+FULLPREFIX?=$(PREFIX) -+ETCDIR?=etc/dcf77pi -+CFLAGS+=-Wall -DETCDIR=\"$(PREFIX)/$(ETCDIR)\" - - all: dcf77pi readpin - -@@ -26,6 +27,6 @@ - rm readpin readpin.o - - install: -- install dcf77pi readpin $(PREFIX)/bin -- mkdir -p $(ETCDIR) -- install etc/dcf77pi/hardware.txt $(ETCDIR)/hardware.txt.sample -+ install dcf77pi readpin $(FULLPREFIX)/bin -+ mkdir -p $(FULLPREFIX)/$(ETCDIR) -+ install etc/dcf77pi/hardware.txt $(FULLPREFIX)/$(ETCDIR)/hardware.txt.sample diff --git a/comms/dcf77pi/pkg-plist b/comms/dcf77pi/pkg-plist index 2e3d6ab12ba8..1fa3296dc0a0 100644 --- a/comms/dcf77pi/pkg-plist +++ b/comms/dcf77pi/pkg-plist @@ -1,8 +1,8 @@ bin/dcf77pi bin/readpin %%PORTDOCS%%%%DOCSDIR%%/README.md -@unexec if cmp -s %D/etc/dcf77pi/hardware.txt.sample %D/etc/dcf77pi/hardware.txt ; then rm -f %D/etc/dcf77pi/hardware.txt ; fi -etc/dcf77pi/hardware.txt.sample -@exec if [ ! -f %D/etc/dcf77pi/hardware.txt ] ; then cp -p %D/%F %B/hardware.txt ; fi +@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%% |