Fri Dec 11 23:32:53 2015 UTC ()
Honour wrappers. Declare C++ dependency.


(joerg)
diff -r1.30 -r1.31 pkgsrc/lang/cint/Makefile

cvs diff -r1.30 -r1.31 pkgsrc/lang/cint/Attic/Makefile (switch to unified diff)

--- pkgsrc/lang/cint/Attic/Makefile 2015/08/30 08:41:44 1.30
+++ pkgsrc/lang/cint/Attic/Makefile 2015/12/11 23:32:53 1.31
@@ -1,110 +1,115 @@ @@ -1,110 +1,115 @@
1# $NetBSD: Makefile,v 1.30 2015/08/30 08:41:44 dholland Exp $ 1# $NetBSD: Makefile,v 1.31 2015/12/11 23:32:53 joerg Exp $
2 2
3DISTNAME= cint5.15 3DISTNAME= cint5.15
4PKGNAME= cint-5.15.174 4PKGNAME= cint-5.15.174
5PKGREVISION= 2 5PKGREVISION= 2
6CATEGORIES= lang 6CATEGORIES= lang
7MASTER_SITES= ftp://root.cern.ch/root/ 7MASTER_SITES= ftp://root.cern.ch/root/
8#MASTER_SITES= ${MASTER_SITE_BACKUP} 8#MASTER_SITES= ${MASTER_SITE_BACKUP}
9 9
10MAINTAINER= drochner@NetBSD.org 10MAINTAINER= drochner@NetBSD.org
11HOMEPAGE= http://root.cern.ch/root/Cint.html 11HOMEPAGE= http://root.cern.ch/root/Cint.html
12COMMENT= C/C++ interpreter 12COMMENT= C/C++ interpreter
13 13
14CONFLICTS= man-pages-[0-9]* 14CONFLICTS= man-pages-[0-9]*
15 15
 16USE_LANGUAGES= c c++
 17
16#same distribution file name for minor versions 18#same distribution file name for minor versions
17DIST_SUBDIR= ${PKGNAME_NOREV} 19DIST_SUBDIR= ${PKGNAME_NOREV}
18WRKSRC= ${WRKDIR} 20WRKSRC= ${WRKDIR}
19GCC_REQD+= 3.0 21GCC_REQD+= 3.0
20PTHREAD_OPTS+= native 22PTHREAD_OPTS+= native
21PLIST_VARS+= threads 23PLIST_VARS+= threads
22.include "../../mk/pthread.buildlink3.mk" 24.include "../../mk/pthread.buildlink3.mk"
23.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native" 25.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
24PLIST.threads= yes 26PLIST.threads= yes
25.endif 27.endif
26 28
27INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man2 29INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man2
28INSTALLATION_DIRS+= ${PKGMANDIR}/man3 30INSTALLATION_DIRS+= ${PKGMANDIR}/man3
29USE_LANGUAGES= c c++ 31USE_LANGUAGES= c c++
30CHECK_PORTABILITY_SKIP+= INSTALLBIN 32CHECK_PORTABILITY_SKIP+= INSTALLBIN
31 33
32post-extract: 34post-extract:
33 ${FIND} ${WRKSRC} -depth -type d -name CVS -exec ${RM} -rf {} \; 35 ${FIND} ${WRKSRC} -depth -type d -name CVS -exec ${RM} -rf {} \;
34 ${FIND} ${WRKSRC} -type f -name .cvsignore -exec ${RM} -f {} \; 36 ${FIND} ${WRKSRC} -type f -name .cvsignore -exec ${RM} -f {} \;
35 37
36do-build: 38do-build:
37 cd ${WRKDIR}; \ 39 cd ${WRKDIR}; \
38 case ${OPSYS} in \ 40 case ${OPSYS} in \
39 FreeBSD|DragonFly) \ 41 FreeBSD|DragonFly) \
40 ${SH} ./setup platform/freebsd_C ;; \ 42 ${PKGSRC_SETENV} ${MAKE_ENV} ${SH} ./setup platform/freebsd_C \
 43 ;; \
41 NetBSD|OpenBSD|Bitrig) \ 44 NetBSD|OpenBSD|Bitrig) \
42 ${SH} ./setup platform/netbsd ;; \ 45 ${PKGSRC_SETENV} ${MAKE_ENV} ${SH} ./setup platform/netbsd \
 46 ;; \
43 SunOS) \ 47 SunOS) \
44 ${SH} ./setup platform/solaris_gcc ;; \ 48 ${PKGSRC_SETENV} ${MAKE_ENV} ${SH} ./setup platform/solaris_gcc \
 49 ;; \
45 *) \ 50 *) \
46 ${ECHO} 'not yet ported to ${OPSYS}'; exit 1 ;; \ 51 ${ECHO} 'not yet ported to ${OPSYS}'; exit 1 ;; \
47 esac 52 esac
48 53
49do-install: 54do-install:
50 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/cint 55 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/cint
51 ${INSTALL_PROGRAM} ${WRKDIR}/cint ${DESTDIR}${PREFIX}/cint 56 ${INSTALL_PROGRAM} ${WRKDIR}/cint ${DESTDIR}${PREFIX}/cint
52 ${INSTALL_PROGRAM} ${WRKDIR}/makecint ${DESTDIR}${PREFIX}/cint 57 ${INSTALL_PROGRAM} ${WRKDIR}/makecint ${DESTDIR}${PREFIX}/cint
53 ${SED} "s;XXXPREFIXXXX;${PREFIX};g" <${FILESDIR}/cint.sh >${DESTDIR}${PREFIX}/bin/cint 58 ${SED} "s;XXXPREFIXXXX;${PREFIX};g" <${FILESDIR}/cint.sh >${DESTDIR}${PREFIX}/bin/cint
54 ${CHMOD} +x ${DESTDIR}${PREFIX}/bin/cint 59 ${CHMOD} +x ${DESTDIR}${PREFIX}/bin/cint
55 rm -f ${DESTDIR}${PREFIX}/bin/makecint 60 rm -f ${DESTDIR}${PREFIX}/bin/makecint
56 cd ${DESTDIR}${PREFIX}/bin && ${LN} cint makecint 61 cd ${DESTDIR}${PREFIX}/bin && ${LN} cint makecint
57 ${INSTALL_DATA} ${WRKDIR}/MAKEINFO ${DESTDIR}${PREFIX}/cint 62 ${INSTALL_DATA} ${WRKDIR}/MAKEINFO ${DESTDIR}${PREFIX}/cint
58 ${CP} -r ${WRKDIR}/include ${WRKDIR}/stl ${DESTDIR}${PREFIX}/cint 63 ${CP} -r ${WRKDIR}/include ${WRKDIR}/stl ${DESTDIR}${PREFIX}/cint
59 ${RM} ${DESTDIR}${PREFIX}/cint/include/Makeit \ 64 ${RM} ${DESTDIR}${PREFIX}/cint/include/Makeit \
60 ${DESTDIR}${PREFIX}/cint/include/make* 65 ${DESTDIR}${PREFIX}/cint/include/make*
61 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/cint/lib 66 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/cint/lib
62 ${CP} -r ${WRKDIR}/lib/prec_stl ${DESTDIR}${PREFIX}/cint/lib 67 ${CP} -r ${WRKDIR}/lib/prec_stl ${DESTDIR}${PREFIX}/cint/lib
63 ${INSTALL_DATA} ${WRKDIR}/G__ci.h ${DESTDIR}${PREFIX}/cint 68 ${INSTALL_DATA} ${WRKDIR}/G__ci.h ${DESTDIR}${PREFIX}/cint
64 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cint 69 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cint
65 ${INSTALL_DATA} ${WRKSRC}/doc/bytecode.txt \ 70 ${INSTALL_DATA} ${WRKSRC}/doc/bytecode.txt \
66 ${DESTDIR}${PREFIX}/share/doc/cint 71 ${DESTDIR}${PREFIX}/share/doc/cint
67 ${INSTALL_DATA} ${WRKSRC}/doc/cint.txt \ 72 ${INSTALL_DATA} ${WRKSRC}/doc/cint.txt \
68 ${DESTDIR}${PREFIX}/share/doc/cint 73 ${DESTDIR}${PREFIX}/share/doc/cint
69 ${INSTALL_DATA} ${WRKSRC}/doc/cintapi.txt \ 74 ${INSTALL_DATA} ${WRKSRC}/doc/cintapi.txt \
70 ${DESTDIR}${PREFIX}/share/doc/cint 75 ${DESTDIR}${PREFIX}/share/doc/cint
71 ${INSTALL_DATA} ${WRKSRC}/doc/extlib.txt \ 76 ${INSTALL_DATA} ${WRKSRC}/doc/extlib.txt \
72 ${DESTDIR}${PREFIX}/share/doc/cint 77 ${DESTDIR}${PREFIX}/share/doc/cint
73 ${INSTALL_DATA} ${WRKSRC}/doc/ifdef.txt \ 78 ${INSTALL_DATA} ${WRKSRC}/doc/ifdef.txt \
74 ${DESTDIR}${PREFIX}/share/doc/cint 79 ${DESTDIR}${PREFIX}/share/doc/cint
75 ${INSTALL_DATA} ${WRKSRC}/doc/limitati.txt \ 80 ${INSTALL_DATA} ${WRKSRC}/doc/limitati.txt \
76 ${DESTDIR}${PREFIX}/share/doc/cint 81 ${DESTDIR}${PREFIX}/share/doc/cint
77 ${INSTALL_DATA} ${WRKSRC}/doc/limitnum.txt \ 82 ${INSTALL_DATA} ${WRKSRC}/doc/limitnum.txt \
78 ${DESTDIR}${PREFIX}/share/doc/cint 83 ${DESTDIR}${PREFIX}/share/doc/cint
79 ${INSTALL_DATA} ${WRKSRC}/doc/makecint.txt \ 84 ${INSTALL_DATA} ${WRKSRC}/doc/makecint.txt \
80 ${DESTDIR}${PREFIX}/share/doc/cint 85 ${DESTDIR}${PREFIX}/share/doc/cint
81 ${INSTALL_DATA} ${WRKSRC}/doc/message.txt \ 86 ${INSTALL_DATA} ${WRKSRC}/doc/message.txt \
82 ${DESTDIR}${PREFIX}/share/doc/cint 87 ${DESTDIR}${PREFIX}/share/doc/cint
83 ${INSTALL_DATA} ${WRKSRC}/doc/ref.txt \ 88 ${INSTALL_DATA} ${WRKSRC}/doc/ref.txt \
84 ${DESTDIR}${PREFIX}/share/doc/cint 89 ${DESTDIR}${PREFIX}/share/doc/cint
85 ${INSTALL_MAN} ${WRKSRC}/doc/man1/cint.1 \ 90 ${INSTALL_MAN} ${WRKSRC}/doc/man1/cint.1 \
86 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 91 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
87 ${INSTALL_MAN} ${WRKSRC}/doc/man1/makecint.1 \ 92 ${INSTALL_MAN} ${WRKSRC}/doc/man1/makecint.1 \
88 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 93 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
89 ${INSTALL_MAN} ${WRKSRC}/doc/man2/garbage.2 \ 94 ${INSTALL_MAN} ${WRKSRC}/doc/man2/garbage.2 \
90 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man2 95 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man2
91 ${INSTALL_MAN} ${WRKSRC}/doc/man2/security.2 \ 96 ${INSTALL_MAN} ${WRKSRC}/doc/man2/security.2 \
92 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man2 97 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man2
93 ${INSTALL_MAN} ${WRKSRC}/doc/man2/unique.2 \ 98 ${INSTALL_MAN} ${WRKSRC}/doc/man2/unique.2 \
94 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man2 99 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man2
95 ${INSTALL_MAN} ${WRKSRC}/doc/man3/array.h.3 \ 100 ${INSTALL_MAN} ${WRKSRC}/doc/man3/array.h.3 \
96 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3 101 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
97 ${INSTALL_MAN} ${WRKSRC}/doc/man3/fft.h.3 \ 102 ${INSTALL_MAN} ${WRKSRC}/doc/man3/fft.h.3 \
98 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3 103 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
99 ${INSTALL_MAN} ${WRKSRC}/doc/man3/statistics.h.3 \ 104 ${INSTALL_MAN} ${WRKSRC}/doc/man3/statistics.h.3 \
100 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3 105 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
101 106
102# The library seems to want these but the pertinent parts still don't 107# The library seems to want these but the pertinent parts still don't
103# build, so I'm reluctant to bother. 108# build, so I'm reluctant to bother.
104# 109#
105#.include "../../graphics/glu/buildlink3.mk" 110#.include "../../graphics/glu/buildlink3.mk"
106#.include "../../graphics/MesaLib/buildlink3.mk" 111#.include "../../graphics/MesaLib/buildlink3.mk"
107#.include "../../x11/xproto/buildlink3.mk" 112#.include "../../x11/xproto/buildlink3.mk"
108#.include "../../x11/libX11/buildlink3.mk" 113#.include "../../x11/libX11/buildlink3.mk"
109 114
110.include "../../mk/bsd.pkg.mk" 115.include "../../mk/bsd.pkg.mk"