summaryrefslogtreecommitdiff
path: root/cross/avr-libc/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-09-22 11:50:30 +0000
committerjoerg <joerg@pkgsrc.org>2014-09-22 11:50:30 +0000
commit5943c297a6fc4b13bdf15891d553ac73fe5c2933 (patch)
tree93411b943fe84ed0236190ff5c6bb20367860f35 /cross/avr-libc/Makefile
parenteaca98b1d78513be3f8703354abd0c1dee73d655 (diff)
downloadpkgsrc-5943c297a6fc4b13bdf15891d553ac73fe5c2933.tar.gz
Simplify. Sync PLIST with reality. Bump revision.
Diffstat (limited to 'cross/avr-libc/Makefile')
-rw-r--r--cross/avr-libc/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/cross/avr-libc/Makefile b/cross/avr-libc/Makefile
index 9197b4bd7c2..e2003355976 100644
--- a/cross/avr-libc/Makefile
+++ b/cross/avr-libc/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.34 2014/08/29 04:31:12 mef Exp $
+# $NetBSD: Makefile,v 1.35 2014/09/22 11:50:30 joerg Exp $
DISTNAME= avr-libc-1.8.0
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= cross
MASTER_SITES= http://savannah.nongnu.org/download/avr-libc/
EXTRACT_SUFX= .tar.bz2
@@ -52,14 +52,11 @@ post-install:
${DESTDIR}${PREFIX}/share/doc/avr-libc
## delete following or similar files, which includes PATH at build time.
##_usr_pkgsrc_cross_avr-libc_work_avr-libc-1.8.0_libc_string_.3
- (cd ${DESTDIR}${PREFIX}/share/doc/avr-libc/man/man3; ${RM} -f *${PKGVERSION_NOREV}*)
- set -e; \
- for f in Makefile demo.c demo.bin demo.hex demo.pdf \
- demo.srec;\
- do \
- ${INSTALL_DATA} ${WRKSRC}/doc/examples/demo/$$f \
- ${DESTDIR}${PREFIX}/share/doc/avr-libc/examples/demo; \
- done
+ ${RM} ${DESTDIR}${PREFIX}/share/doc/avr-libc/man/man3/*${PKGVERSION_NOREV}*
+.for f in Makefile demo.c demo.bin demo.hex demo.pdf demo.srec
+ ${INSTALL_DATA} ${WRKSRC}/doc/examples/demo/${f} \
+ ${DESTDIR}${PREFIX}/share/doc/avr-libc/examples/demo
+.endfor
.include "../../cross/avr-binutils/buildlink3.mk"
.include "../../cross/avr-gcc/buildlink3.mk"