Sat Nov 11 13:13:15 2017 UTC ()
libaudiofile: add test target


(maya)
diff -r1.62 -r1.63 pkgsrc/audio/libaudiofile/Makefile

cvs diff -r1.62 -r1.63 pkgsrc/audio/libaudiofile/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/libaudiofile/Makefile 2017/08/01 16:47:37 1.62
+++ pkgsrc/audio/libaudiofile/Makefile 2017/11/11 13:13:15 1.63
@@ -1,30 +1,31 @@ @@ -1,30 +1,31 @@
1# $NetBSD: Makefile,v 1.62 2017/08/01 16:47:37 wiz Exp $ 1# $NetBSD: Makefile,v 1.63 2017/11/11 13:13:15 maya Exp $
2 2
3DISTNAME= audiofile-0.3.6 3DISTNAME= audiofile-0.3.6
4PKGNAME= lib${DISTNAME} 4PKGNAME= lib${DISTNAME}
5PKGREVISION= 1 5PKGREVISION= 1
6CATEGORIES= audio 6CATEGORIES= audio
7MASTER_SITES= http://www.68k.org/~michael/audiofile/ 7MASTER_SITES= http://www.68k.org/~michael/audiofile/
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10#HOMEPAGE= http://andromeda.68k.org/~michael/audiofile/ 10#HOMEPAGE= http://andromeda.68k.org/~michael/audiofile/
11COMMENT= Sound library for SGI audio file 11COMMENT= Sound library for SGI audio file
12LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 12LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
13 13
14USE_LANGUAGES= c c++ 14USE_LANGUAGES= c c++
15USE_LIBTOOL= yes 15USE_LIBTOOL= yes
16GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
17PKGCONFIG_OVERRIDE= audiofile.pc.in 17PKGCONFIG_OVERRIDE= audiofile.pc.in
 18TEST_TARGET= check
18 19
19DOCDIR= ${PREFIX}/share/doc/libaudiofile 20DOCDIR= ${PREFIX}/share/doc/libaudiofile
20 21
21INSTALLATION_DIRS= ${DOCDIR} 22INSTALLATION_DIRS= ${DOCDIR}
22 23
23post-build: 24post-build:
24 cd ${WRKSRC}/docs && \ 25 cd ${WRKSRC}/docs && \
25 for i in af*3; do \ 26 for i in af*3; do \
26 if grep -q '^.so ' $$i >/dev/null; then \ 27 if grep -q '^.so ' $$i >/dev/null; then \
27 sed -e "s_.so _.so man3/_" $$i > $$i.new && mv $$i.new $$i; \ 28 sed -e "s_.so _.so man3/_" $$i > $$i.new && mv $$i.new $$i; \
28 fi; \ 29 fi; \
29 done 30 done
30 31