Add extra example source filediff -r1.7 -r1.8 pkgsrc/devel/libxenserver/Makefile
(sborrill)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.7 2013/07/18 11:59:28 sborrill Exp $ | 1 | # $NetBSD: Makefile,v 1.8 2013/07/18 12:07:43 sborrill Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | VERSION= 6.2.0 | 4 | VERSION= 6.2.0 | |
5 | DISTNAME= XenServer-${VERSION}-SDK | 5 | DISTNAME= XenServer-${VERSION}-SDK | |
6 | PKGNAME= libxenserver-${VERSION} | 6 | PKGNAME= libxenserver-${VERSION} | |
7 | CATEGORIES= devel | 7 | CATEGORIES= devel | |
8 | MASTER_SITES= http://downloadns.citrix.com.edgesuite.net/7289/ | 8 | MASTER_SITES= http://downloadns.citrix.com.edgesuite.net/7289/ | |
9 | 9 | |||
10 | MAINTAINER= sborrill@NetBSD.org | 10 | MAINTAINER= sborrill@NetBSD.org | |
11 | HOMEPAGE= http://community.citrix.com/cdn/xs/sdks/ | 11 | HOMEPAGE= http://community.citrix.com/cdn/xs/sdks/ | |
12 | COMMENT= Citrix XenServer SDK for C | 12 | COMMENT= Citrix XenServer SDK for C | |
13 | LICENSE= gnu-gpl-v2 | 13 | LICENSE= gnu-gpl-v2 | |
14 | 14 | |||
@@ -18,23 +18,20 @@ MAJOR= 2 | @@ -18,23 +18,20 @@ MAJOR= 2 | |||
18 | MINOR= 0 | 18 | MINOR= 0 | |
19 | BUILD_TARGET= libxenserver.so | 19 | BUILD_TARGET= libxenserver.so | |
20 | USE_TOOLS+= gmake pax | 20 | USE_TOOLS+= gmake pax | |
21 | 21 | |||
22 | PLIST_SUBST+= MAJOR=${MAJOR:Q} MINOR=${MINOR:Q} | 22 | PLIST_SUBST+= MAJOR=${MAJOR:Q} MINOR=${MINOR:Q} | |
23 | 23 | |||
24 | INSTALLATION_DIRS= include/xen/api | 24 | INSTALLATION_DIRS= include/xen/api | |
25 | INSTALLATION_DIRS+= share/examples/libxenserver lib | 25 | INSTALLATION_DIRS+= share/examples/libxenserver lib | |
26 | 26 | |||
27 | do-install: | 27 | do-install: | |
28 | ${INSTALL_LIB} ${WRKSRC}/libxenserver.so.${MAJOR}.${MINOR} ${DESTDIR}${PREFIX}/lib | 28 | ${INSTALL_LIB} ${WRKSRC}/libxenserver.so.${MAJOR}.${MINOR} ${DESTDIR}${PREFIX}/lib | |
29 | ${INSTALL_LIB} ${WRKSRC}/libxenserver.so ${DESTDIR}${PREFIX}/lib | 29 | ${INSTALL_LIB} ${WRKSRC}/libxenserver.so ${DESTDIR}${PREFIX}/lib | |
30 | cd ${WRKSRC}/include/xen/api && pax -rw *.h ${DESTDIR}${PREFIX}/include/xen/api | 30 | cd ${WRKSRC}/include/xen/api && pax -rw *.h ${DESTDIR}${PREFIX}/include/xen/api | |
31 | .for example in test_event_handling.c test_failures.c test_vm_ops.c | 31 | cd ${WRKSRC}/test && pax -rw *.c ${DESTDIR}${PREFIX}/share/examples/libxenserver | |
32 | ${INSTALL_DATA} ${WRKSRC}/test/${example} \ | |||
33 | ${DESTDIR}${PREFIX}/share/examples/libxenserver | |||
34 | .endfor | |||
35 | 32 | |||
36 | .include "../../mk/bsd.prefs.mk" | 33 | .include "../../mk/bsd.prefs.mk" | |
37 | 34 | |||
38 | .include "../../textproc/libxml2/buildlink3.mk" | 35 | .include "../../textproc/libxml2/buildlink3.mk" | |
39 | .include "../../www/curl/buildlink3.mk" | 36 | .include "../../www/curl/buildlink3.mk" | |
40 | .include "../../mk/bsd.pkg.mk" | 37 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2013/07/18 11:59:28 sborrill Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2013/07/18 12:07:43 sborrill Exp $ | |
2 | include/xen/api/xen_after_apply_guidance.h | 2 | include/xen/api/xen_after_apply_guidance.h | |
3 | include/xen/api/xen_all.h | 3 | include/xen/api/xen_all.h | |
4 | include/xen/api/xen_api_failure.h | 4 | include/xen/api/xen_api_failure.h | |
5 | include/xen/api/xen_auth.h | 5 | include/xen/api/xen_auth.h | |
6 | include/xen/api/xen_auth_decl.h | 6 | include/xen/api/xen_auth_decl.h | |
7 | include/xen/api/xen_blob.h | 7 | include/xen/api/xen_blob.h | |
8 | include/xen/api/xen_blob_decl.h | 8 | include/xen/api/xen_blob_decl.h | |
9 | include/xen/api/xen_blob_xen_blob_record_map.h | 9 | include/xen/api/xen_blob_xen_blob_record_map.h | |
10 | include/xen/api/xen_bond.h | 10 | include/xen/api/xen_bond.h | |
11 | include/xen/api/xen_bond_decl.h | 11 | include/xen/api/xen_bond_decl.h | |
12 | include/xen/api/xen_bond_mode.h | 12 | include/xen/api/xen_bond_mode.h | |
13 | include/xen/api/xen_bond_xen_bond_record_map.h | 13 | include/xen/api/xen_bond_xen_bond_record_map.h | |
14 | include/xen/api/xen_cls.h | 14 | include/xen/api/xen_cls.h | |
@@ -175,16 +175,17 @@ include/xen/api/xen_vm_string_set_map.h | @@ -175,16 +175,17 @@ include/xen/api/xen_vm_string_set_map.h | |||
175 | include/xen/api/xen_vm_string_string_map_map.h | 175 | include/xen/api/xen_vm_string_string_map_map.h | |
176 | include/xen/api/xen_vm_xen_vm_record_map.h | 176 | include/xen/api/xen_vm_xen_vm_record_map.h | |
177 | include/xen/api/xen_vmpp.h | 177 | include/xen/api/xen_vmpp.h | |
178 | include/xen/api/xen_vmpp_archive_frequency.h | 178 | include/xen/api/xen_vmpp_archive_frequency.h | |
179 | include/xen/api/xen_vmpp_archive_target_type.h | 179 | include/xen/api/xen_vmpp_archive_target_type.h | |
180 | include/xen/api/xen_vmpp_backup_frequency.h | 180 | include/xen/api/xen_vmpp_backup_frequency.h | |
181 | include/xen/api/xen_vmpp_backup_type.h | 181 | include/xen/api/xen_vmpp_backup_type.h | |
182 | include/xen/api/xen_vmpp_decl.h | 182 | include/xen/api/xen_vmpp_decl.h | |
183 | include/xen/api/xen_vmpp_xen_vmpp_record_map.h | 183 | include/xen/api/xen_vmpp_xen_vmpp_record_map.h | |
184 | include/xen/api/xen_vtpm.h | 184 | include/xen/api/xen_vtpm.h | |
185 | include/xen/api/xen_vtpm_decl.h | 185 | include/xen/api/xen_vtpm_decl.h | |
186 | lib/libxenserver.so | 186 | lib/libxenserver.so | |
187 | lib/libxenserver.so.${MAJOR}.${MINOR} | 187 | lib/libxenserver.so.${MAJOR}.${MINOR} | |
188 | share/examples/libxenserver/test_vm_async_migrate.c | |||
188 | share/examples/libxenserver/test_event_handling.c | 189 | share/examples/libxenserver/test_event_handling.c | |
189 | share/examples/libxenserver/test_failures.c | 190 | share/examples/libxenserver/test_failures.c | |
190 | share/examples/libxenserver/test_vm_ops.c | 191 | share/examples/libxenserver/test_vm_ops.c |