Permalink
Browse files

* Add new emulator framework in pkgsrc/mk/emulator that handles all

  binary-only packages that require binary "emulation" on the native
  operating system.  Please see pkgsrc/mk/emulator/README for more
  details.

* Teach the plist framework to automatically use any existing
  PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition.

* Convert all of the binary-only packages in pkgsrc to use the
  emulator framework.  Most of them have been tested to install and
  deinstall correctly.  This involves the following cleanup actions:

    * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM}
      more consistently.

    * Simplify packages by using default INSTALL and DEINSTALL scripts
      instead of custom INSTALL/DEINSTALL code.

    * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc.
      Packages only need to state exactly which emulations they support,
      and the framework handles any i386-on-x86_64 or sparc-on-sparc64
      uses.

    * Remove "USE_NATIVE_LINUX" from pkgsrc.  The framework will
      automatically detect when the package is installing on Linux.

  Specific changes to packages include:

    * Bump the PKGREVISIONs for all of the suse100* and suse91* packages
      due to changes in the +INSTALL/+DEINSTALL scripts used in all
      of the packages.

    * Remove pkgsrc/emulators/suse_linux, which is unused by any
      packages.

    * cad/lc -- remove custom code to create the distinfo file for
	all supported platforms; just use "emul-fetch" and "emul-distinfo"
	instead.

    * lang/Cg-compiler -- install the shared libraries under ${EMULDIR}
	instead of ${PREFIX}/lib so that compiled programs will find
	the shared libraries.

    * mail/thunderbird-bin-nightly -- update to latest binary
	distributions for supported platforms.

    * multimedia/ns-flash -- update Linux version to 9.0.48 as the
	older version is no longer available for interactive fetch.

    * security/uvscan -- set LD_LIBRARY_PATH explicitly so that
	it's not necessary to install library symlinks into
	${EMULDIR}/usr/local/lib.

    * www/firefox-bin-flash -- update Linux version to 9.0.48 as the
	older version is no longer available for interactive fetch.
  • Loading branch information...
1 parent 4b4290c commit 388f6540299c59f5cf4248772419e8fd7741085a jlam committed Jul 29, 2007
Showing with 2,136 additions and 2,447 deletions.
  1. +6 −16 archivers/rar-bin/Makefile
  2. +4 −10 archivers/stuffit/Makefile
  3. +5 −14 archivers/unace-bin/Makefile
  4. +5 −10 cad/eagle/Makefile
  5. +28 −65 cad/lc/Makefile
  6. +1 −4 cad/lc/distinfo
  7. +29 −26 chat/aim/Makefile
  8. +0 −2 chat/aim/PLIST
  9. +19 −25 chat/ymessenger/Makefile
  10. +5 −11 emulators/m1/Makefile
  11. +11 −12 emulators/ski/Makefile
  12. +5 −4 emulators/suse100_aspell/DESCR
  13. +8 −18 emulators/suse100_aspell/Makefile
  14. +0 −3 emulators/suse100_aspell/Makefile.i386
  15. +0 −3 emulators/suse100_aspell/Makefile.powerpc
  16. +0 −3 emulators/suse100_aspell/Makefile.x86_64
  17. +27 −0 emulators/suse100_base/DEINSTALL
  18. +5 −4 emulators/suse100_base/DESCR
  19. +136 −17 emulators/suse100_base/INSTALL
  20. +31 −57 emulators/suse100_base/Makefile
  21. +0 −14 emulators/suse100_base/Makefile.i386
  22. +0 −14 emulators/suse100_base/Makefile.powerpc
  23. +0 −16 emulators/suse100_base/Makefile.x86_64
  24. +3 −15 emulators/suse100_base/PLIST
  25. +2 −2 emulators/suse100_base/files/SuSE-release
  26. +21 −3 emulators/suse100_base/files/linux-mkpwd.sh
  27. +15 −0 emulators/suse100_base/suse.i386.mk
  28. +15 −0 emulators/suse100_base/suse.powerpc.mk
  29. +17 −0 emulators/suse100_base/suse.x86_64.mk
  30. +5 −4 emulators/suse100_compat/DESCR
  31. +10 −16 emulators/suse100_compat/Makefile
  32. +0 −5 emulators/suse100_compat/Makefile.i386
  33. +0 −5 emulators/suse100_compat/Makefile.powerpc
  34. +0 −5 emulators/suse100_compat/Makefile.x86_64
  35. +5 −4 emulators/suse100_expat/DESCR
  36. +8 −17 emulators/suse100_expat/Makefile
  37. +0 −3 emulators/suse100_expat/Makefile.i386
  38. +0 −3 emulators/suse100_expat/Makefile.powerpc
  39. +0 −3 emulators/suse100_expat/Makefile.x86_64
  40. +5 −4 emulators/suse100_fontconfig/DESCR
  41. +8 −17 emulators/suse100_fontconfig/Makefile
  42. +0 −3 emulators/suse100_fontconfig/Makefile.i386
  43. +0 −3 emulators/suse100_fontconfig/Makefile.powerpc
  44. +0 −3 emulators/suse100_fontconfig/Makefile.x86_64
  45. +5 −4 emulators/suse100_freetype2/DESCR
  46. +8 −16 emulators/suse100_freetype2/Makefile
  47. +0 −3 emulators/suse100_freetype2/Makefile.i386
  48. +0 −3 emulators/suse100_freetype2/Makefile.powerpc
  49. +0 −3 emulators/suse100_freetype2/Makefile.x86_64
  50. +5 −3 emulators/suse100_gdk-pixbuf/DESCR
  51. +8 −16 emulators/suse100_gdk-pixbuf/Makefile
  52. +0 −3 emulators/suse100_gdk-pixbuf/Makefile.i386
  53. +0 −3 emulators/suse100_gdk-pixbuf/Makefile.powerpc
  54. +0 −3 emulators/suse100_gdk-pixbuf/Makefile.x86_64
  55. +5 −3 emulators/suse100_glx/DESCR
  56. +9 −16 emulators/suse100_glx/Makefile
  57. +0 −5 emulators/suse100_glx/Makefile.i386
  58. +0 −5 emulators/suse100_glx/Makefile.powerpc
  59. +0 −7 emulators/suse100_glx/Makefile.x86_64
  60. +0 −2 emulators/suse100_glx/PLIST_rpmfix.i386
  61. +7 −0 emulators/suse100_glx/suse.i386.mk
  62. +7 −0 emulators/suse100_glx/suse.powerpc.mk
  63. +9 −0 emulators/suse100_glx/suse.x86_64.mk
  64. +5 −4 emulators/suse100_gtk/DESCR
  65. +9 −16 emulators/suse100_gtk/Makefile
  66. +0 −4 emulators/suse100_gtk/Makefile.i386
  67. +0 −4 emulators/suse100_gtk/Makefile.powerpc
  68. +0 −4 emulators/suse100_gtk/Makefile.x86_64
  69. +15 −0 emulators/suse100_gtk2/DEINSTALL
  70. +5 −4 emulators/suse100_gtk2/DESCR
  71. +9 −7 emulators/suse100_gtk2/INSTALL
  72. +19 −24 emulators/suse100_gtk2/Makefile
  73. +0 −10 emulators/suse100_gtk2/Makefile.i386
  74. +0 −10 emulators/suse100_gtk2/Makefile.powerpc
  75. +0 −10 emulators/suse100_gtk2/Makefile.x86_64
  76. +0 −4 emulators/suse100_gtk2/PLIST
  77. +4 −0 emulators/suse100_gtk2/suse.x86_64.mk
  78. +5 −3 emulators/suse100_libcups/DESCR
  79. +8 −16 emulators/suse100_libcups/Makefile
  80. +0 −3 emulators/suse100_libcups/Makefile.i386
  81. +0 −3 emulators/suse100_libcups/Makefile.powerpc
  82. +0 −3 emulators/suse100_libcups/Makefile.x86_64
  83. +5 −3 emulators/suse100_libjpeg/DESCR
  84. +8 −17 emulators/suse100_libjpeg/Makefile
  85. +0 −3 emulators/suse100_libjpeg/Makefile.i386
  86. +0 −3 emulators/suse100_libjpeg/Makefile.powerpc
  87. +0 −3 emulators/suse100_libjpeg/Makefile.x86_64
  88. +5 −3 emulators/suse100_libpng/DESCR
  89. +8 −16 emulators/suse100_libpng/Makefile
  90. +0 −3 emulators/suse100_libpng/Makefile.i386
  91. +0 −3 emulators/suse100_libpng/Makefile.powerpc
  92. +0 −3 emulators/suse100_libpng/Makefile.x86_64
  93. +5 −3 emulators/suse100_libtiff/DESCR
  94. +8 −16 emulators/suse100_libtiff/Makefile
  95. +0 −3 emulators/suse100_libtiff/Makefile.i386
  96. +0 −3 emulators/suse100_libtiff/Makefile.powerpc
  97. +0 −3 emulators/suse100_libtiff/Makefile.x86_64
  98. +5 −4 emulators/suse100_libxml2/DESCR
  99. +5 −13 emulators/suse100_libxml2/Makefile
  100. +0 −3 emulators/suse100_libxml2/Makefile.i386
  101. +0 −3 emulators/suse100_libxml2/Makefile.powerpc
  102. +0 −3 emulators/suse100_libxml2/Makefile.x86_64
  103. +46 −103 emulators/suse100_linux/Makefile.common
  104. +0 −19 emulators/suse100_linux/arch.mk
  105. +0 −81 emulators/suse100_linux/compat32.mk
  106. +50 −0 emulators/suse100_linux/emulator.mk
  107. +0 −9 emulators/suse100_linux/vars.mk
  108. +4 −3 emulators/suse100_locale/DESCR
  109. +9 −17 emulators/suse100_locale/Makefile
  110. +0 −3 emulators/suse100_locale/Makefile.i386
  111. +0 −3 emulators/suse100_locale/Makefile.powerpc
  112. +0 −3 emulators/suse100_locale/Makefile.x86_64
  113. +5 −4 emulators/suse100_openmotif/DESCR
  114. +7 −16 emulators/suse100_openmotif/Makefile
  115. +0 −4 emulators/suse100_openmotif/Makefile.i386
  116. +0 −4 emulators/suse100_openmotif/Makefile.powerpc
  117. +0 −3 emulators/suse100_openmotif/Makefile.x86_64
  118. +5 −0 emulators/suse100_openmotif/suse.i386.mk
  119. +5 −0 emulators/suse100_openmotif/suse.powerpc.mk
  120. +4 −0 emulators/suse100_openmotif/suse.x86_64.mk
  121. +5 −4 emulators/suse100_openssl/DESCR
  122. +8 −16 emulators/suse100_openssl/Makefile
  123. +0 −3 emulators/suse100_openssl/Makefile.i386
  124. +0 −3 emulators/suse100_openssl/Makefile.powerpc
  125. +0 −3 emulators/suse100_openssl/Makefile.x86_64
  126. +5 −4 emulators/suse100_slang/DESCR
  127. +11 −18 emulators/suse100_slang/Makefile
  128. +0 −3 emulators/suse100_slang/Makefile.i386
  129. +0 −3 emulators/suse100_slang/Makefile.powerpc
  130. +0 −3 emulators/suse100_slang/Makefile.x86_64
  131. +0 −2 emulators/suse100_slang/PLIST
  132. +0 −2 emulators/suse100_slang/PLIST_rpmfix.i386
  133. +9 −0 emulators/suse100_vmware/DEINSTALL
  134. +4 −3 emulators/suse100_vmware/DESCR
  135. +156 −0 emulators/suse100_vmware/INSTALL
  136. +6 −26 emulators/suse100_vmware/Makefile
  137. +0 −2 emulators/suse100_vmware/PLIST
  138. +7 −1 emulators/suse100_vmware/distinfo
  139. +0 −21 emulators/suse100_vmware/files/device-links
  140. +5 −4 emulators/suse100_x11/DESCR
  141. +8 −16 emulators/suse100_x11/Makefile
  142. +0 −3 emulators/suse100_x11/Makefile.i386
  143. +0 −3 emulators/suse100_x11/Makefile.powerpc
  144. +0 −3 emulators/suse100_x11/Makefile.x86_64
  145. +4 −4 emulators/suse91_aspell/DESCR
  146. +8 −18 emulators/suse91_aspell/Makefile
  147. +0 −3 emulators/suse91_aspell/Makefile.i386
  148. +0 −3 emulators/suse91_aspell/Makefile.x86_64
  149. +27 −0 emulators/suse91_base/DEINSTALL
  150. +4 −4 emulators/suse91_base/DESCR
  151. +136 −16 emulators/suse91_base/INSTALL
  152. +32 −57 emulators/suse91_base/Makefile
  153. +0 −14 emulators/suse91_base/Makefile.i386
  154. +0 −16 emulators/suse91_base/Makefile.x86_64
  155. +3 −15 emulators/suse91_base/PLIST
  156. +2 −2 emulators/suse91_base/files/SuSE-release
  157. +21 −3 emulators/suse91_base/files/linux-mkpwd.sh
  158. +15 −0 emulators/suse91_base/suse.i386.mk
  159. +17 −0 emulators/suse91_base/suse.x86_64.mk
  160. +5 −4 emulators/suse91_compat/DESCR
  161. +7 −18 emulators/suse91_compat/Makefile
  162. +0 −3 emulators/suse91_compat/Makefile.i386
  163. +0 −3 emulators/suse91_compat/Makefile.x86_64
  164. +4 −0 emulators/suse91_compat/suse.i386.mk
  165. +3 −0 emulators/suse91_compat/suse.x86_64.mk
  166. +5 −4 emulators/suse91_expat/DESCR
  167. +7 −19 emulators/suse91_expat/Makefile
  168. +0 −3 emulators/suse91_expat/Makefile.i386
  169. +0 −3 emulators/suse91_expat/Makefile.x86_64
  170. +4 −0 emulators/suse91_expat/suse.i386.mk
  171. +4 −0 emulators/suse91_expat/suse.x86_64.mk
  172. +5 −4 emulators/suse91_fontconfig/DESCR
  173. +7 −19 emulators/suse91_fontconfig/Makefile
  174. +0 −3 emulators/suse91_fontconfig/Makefile.i386
  175. +0 −3 emulators/suse91_fontconfig/Makefile.x86_64
  176. +4 −0 emulators/suse91_fontconfig/suse.i386.mk
  177. +4 −0 emulators/suse91_fontconfig/suse.x86_64.mk
  178. +5 −4 emulators/suse91_freetype2/DESCR
  179. +8 −18 emulators/suse91_freetype2/Makefile
  180. +0 −3 emulators/suse91_freetype2/Makefile.i386
  181. +0 −3 emulators/suse91_freetype2/Makefile.x86_64
  182. +5 −3 emulators/suse91_gdk-pixbuf/DESCR
  183. +8 −18 emulators/suse91_gdk-pixbuf/Makefile
  184. +0 −3 emulators/suse91_gdk-pixbuf/Makefile.i386
  185. +0 −3 emulators/suse91_gdk-pixbuf/Makefile.x86_64
  186. +5 −3 emulators/suse91_glx/DESCR
  187. +9 −19 emulators/suse91_glx/Makefile
  188. +0 −5 emulators/suse91_glx/Makefile.i386
  189. +0 −5 emulators/suse91_glx/Makefile.x86_64
  190. +0 −2 emulators/suse91_glx/PLIST_rpmfix.i386
  191. +7 −0 emulators/suse91_glx/suse.i386.mk
  192. +7 −0 emulators/suse91_glx/suse.x86_64.mk
  193. +5 −4 emulators/suse91_gtk/DESCR
  194. +7 −18 emulators/suse91_gtk/Makefile
  195. +0 −4 emulators/suse91_gtk/Makefile.i386
  196. +0 −4 emulators/suse91_gtk/Makefile.x86_64
  197. +5 −0 emulators/suse91_gtk/suse.i386.mk
  198. +5 −0 emulators/suse91_gtk/suse.x86_64.mk
  199. +15 −0 emulators/suse91_gtk2/DEINSTALL
  200. +5 −4 emulators/suse91_gtk2/DESCR
  201. +9 −7 emulators/suse91_gtk2/INSTALL
  202. +7 −23 emulators/suse91_gtk2/Makefile
  203. +0 −6 emulators/suse91_gtk2/Makefile.i386
  204. +0 −6 emulators/suse91_gtk2/Makefile.x86_64
  205. +0 −4 emulators/suse91_gtk2/PLIST
  206. +7 −0 emulators/suse91_gtk2/suse.i386.mk
  207. +7 −0 emulators/suse91_gtk2/suse.x86_64.mk
  208. +5 −3 emulators/suse91_libjpeg/DESCR
  209. +7 −19 emulators/suse91_libjpeg/Makefile
  210. +0 −3 emulators/suse91_libjpeg/Makefile.i386
  211. +0 −3 emulators/suse91_libjpeg/Makefile.x86_64
  212. +4 −0 emulators/suse91_libjpeg/suse.i386.mk
  213. +4 −0 emulators/suse91_libjpeg/suse.x86_64.mk
  214. +5 −3 emulators/suse91_libpng/DESCR
  215. +8 −18 emulators/suse91_libpng/Makefile
  216. +0 −3 emulators/suse91_libpng/Makefile.i386
  217. +0 −3 emulators/suse91_libpng/Makefile.x86_64
  218. +5 −3 emulators/suse91_libtiff/DESCR
  219. +8 −18 emulators/suse91_libtiff/Makefile
  220. +0 −3 emulators/suse91_libtiff/Makefile.i386
  221. +0 −3 emulators/suse91_libtiff/Makefile.x86_64
  222. +55 −72 emulators/suse91_linux/Makefile.common
  223. +0 −19 emulators/suse91_linux/arch.mk
  224. +47 −0 emulators/suse91_linux/emulator.mk
  225. +0 −9 emulators/suse91_linux/vars.mk
  226. +4 −3 emulators/suse91_locale/DESCR
  227. +8 −19 emulators/suse91_locale/Makefile
  228. +0 −3 emulators/suse91_locale/Makefile.i386
  229. +0 −3 emulators/suse91_locale/Makefile.x86_64
  230. +4 −0 emulators/suse91_locale/suse.i386.mk
  231. +4 −0 emulators/suse91_locale/suse.x86_64.mk
  232. +5 −4 emulators/suse91_openmotif/DESCR
  233. +7 −18 emulators/suse91_openmotif/Makefile
  234. +0 −4 emulators/suse91_openmotif/Makefile.i386
  235. +0 −3 emulators/suse91_openmotif/Makefile.x86_64
  236. +5 −0 emulators/suse91_openmotif/suse.i386.mk
  237. +4 −0 emulators/suse91_openmotif/suse.x86_64.mk
  238. +5 −4 emulators/suse91_slang/DESCR
  239. +11 −19 emulators/suse91_slang/Makefile
  240. +0 −3 emulators/suse91_slang/Makefile.i386
  241. +0 −3 emulators/suse91_slang/Makefile.x86_64
  242. +0 −2 emulators/suse91_slang/PLIST_rpmfix.i386
  243. +4 −0 emulators/suse91_slang/suse.i386.mk
  244. +4 −0 emulators/suse91_slang/suse.x86_64.mk
  245. +9 −0 emulators/suse91_vmware/DEINSTALL
  246. +4 −3 emulators/suse91_vmware/DESCR
  247. +156 −0 emulators/suse91_vmware/INSTALL
  248. +9 −29 emulators/suse91_vmware/Makefile
  249. +0 −2 emulators/suse91_vmware/PLIST
  250. +0 −21 emulators/suse91_vmware/files/device-links
  251. +5 −4 emulators/suse91_x11/DESCR
  252. +22 −19 emulators/suse91_x11/Makefile
  253. +0 −3 emulators/suse91_x11/Makefile.i386
  254. +0 −3 emulators/suse91_x11/Makefile.x86_64
  255. +0 −14 emulators/suse91_x11/PLIST_rpmfix.i386
  256. +0 −32 emulators/suse_linux/Makefile.application
  257. +0 −2 emulators/suse_linux/PLIST_dynamic
  258. +0 −20 emulators/suse_linux/unavailable.mk
  259. +4 −7 emulators/vmware/Makefile
  260. +11 −14 emulators/vmware3/Makefile
  261. +5 −10 emulators/xyame/Makefile
  262. +6 −13 games/adom/Makefile
  263. +11 −17 games/civctp-demo/Makefile
  264. +6 −10 games/et/Makefile
  265. +11 −17 games/eus-demo/Makefile
  266. +4 −11 games/majesty-demo/Makefile
  267. +6 −17 games/quake3arena-demo/Makefile
  268. +7 −16 games/quake3arena/Makefile
  269. +3 −4 games/quake3server/Makefile
  270. +3 −6 games/quake3server/Makefile.common
  271. +7 −16 games/rollemup/Makefile
  272. +11 −16 games/rtcw/Makefile
  273. +5 −22 graphics/PanoTools/Makefile
  274. +2 −2 graphics/PanoTools/PLIST
  275. +10 −14 lang/Cg-compiler/Makefile
  276. +5 −5 lang/Cg-compiler/PLIST
  277. +7 −5 lang/blackdown-jre13/Makefile
  278. +12 −27 lang/blackdown-jre13/Makefile.common
  279. +3 −3 lang/mit-scheme-bin/Makefile
  280. +6 −4 lang/sun-jdk13/Makefile
  281. +0 −2 lang/sun-jdk13/PLIST.Darwin
  282. +5 −3 lang/sun-jdk14/Makefile
  283. +5 −4 lang/sun-jdk15/Makefile
  284. +5 −4 lang/sun-jdk6/Makefile
  285. +7 −4 lang/sun-jre13/Makefile
  286. +16 −21 lang/sun-jre13/Makefile.common
  287. +0 −2 lang/sun-jre13/PLIST.Darwin
  288. +18 −7 lang/sun-jre14/Makefile
  289. +17 −30 lang/sun-jre14/Makefile.common
  290. +3 −3 lang/sun-jre14/PLIST
  291. +7 −0 lang/sun-jre15/DEINSTALL
  292. +0 −6 lang/sun-jre15/DEINSTALL.tmpl
  293. +7 −0 lang/sun-jre15/INSTALL
  294. +0 −6 lang/sun-jre15/INSTALL.tmpl
  295. +8 −20 lang/sun-jre15/Makefile
  296. +18 −19 lang/sun-jre15/Makefile.common
  297. +7 −0 lang/sun-jre6/DEINSTALL
  298. +0 −6 lang/sun-jre6/DEINSTALL.tmpl
  299. +7 −0 lang/sun-jre6/INSTALL
  300. +0 −6 lang/sun-jre6/INSTALL.tmpl
Sorry, we could not display the entire diff because too many files (464) changed.
View
22 archivers/rar-bin/Makefile
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/04/19 15:30:22 xtraeme Exp $
-#
+# $NetBSD: Makefile,v 1.7 2007/07/29 05:18:36 jlam Exp $
DISTNAME= rarlinux-3.6.0
PKGNAME= ${DISTNAME:C/linux/-bin/}
@@ -11,23 +10,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.rarsoft.com/rar_archiver.htm
COMMENT= RAR command line archiver (Linux binary)
-LICENSE= rar-license
-
-ONLY_FOR_PLATFORM= *-*-i386
-WRKSRC= ${WRKDIR}/rar
-
-# old name of the package
CONFLICTS= rarlinux-[0-9]* rar-linux-[0-9]*
-SUSE_COMPAT32= yes
+LICENSE= rar-license
-.if !defined(USE_NATIVE_LINUX)
-DEPENDS+= suse_base>=6.1:../../emulators/${SUSE_DIR_PREFIX}_base
-DEPENDS+= suse_compat>=6.1:../../emulators/${SUSE_DIR_PREFIX}_compat
-.endif
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= base compat
-NO_BUILD= YES
-NO_CONFIGURE= YES
+WRKSRC= ${WRKDIR}/rar
+BUILD_DIRS= # empty
INSTALLATION_DIRS= bin lib
@@ -39,5 +30,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/rar-bin
${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${PREFIX}/share/doc/rar-bin
-.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"
View
14 archivers/stuffit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2006/12/15 14:34:18 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2007/07/29 05:18:36 jlam Exp $
DISTNAME= stuffit520.611linux-i386
PKGNAME= stuffit-5.2.0.611
@@ -10,23 +10,17 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.stuffit.com/unix/stuffit/
COMMENT= Stuffit Archive Creator and Expander
-.include "../../emulators/suse_linux/Makefile.application"
-
-.if !defined(USE_NATIVE_LINUX)
-DEPENDS+= suse_base>=6:../../emulators/${SUSE_DIR_PREFIX}_base
-.endif
-
RESTRICTED= Redistribution not permitted
NO_SRC_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
-ONLY_FOR_PLATFORM= *-*-i386
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= base
WRKSRC= ${WRKDIR}
-NO_CONFIGURE= yes
-NO_BUILD= yes
+BUILD_DIRS= # empty
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
INSTALLATION_DIRS+= share/doc/stuffit/stuff share/doc/stuffit/unstuff
View
19 archivers/unace-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/05/22 22:22:02 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2007/07/29 05:18:36 jlam Exp $
#
DISTNAME= linunace25
@@ -11,23 +11,15 @@ MAINTAINER= dillo@NetBSD.org
HOMEPAGE= http://www.winace.com/
COMMENT= Extract, list and test files in ACE archives (Linux binary)
-ONLY_FOR_PLATFORM= *-*-i386
-
RESTRICTED= Only original file distribution.
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
-WRKSRC= ${WRKDIR}
-
-.include "../../emulators/suse_linux/Makefile.application"
-
-.if !defined(USE_NATIVE_LINUX)
-DEPENDS+= suse_base>=6.1:../../emulators/${SUSE_DIR_PREFIX}_base
-DEPENDS+= suse_compat>=6.1:../../emulators/${SUSE_DIR_PREFIX}_compat
-.endif
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= base compat
-NO_BUILD= YES
-NO_CONFIGURE= YES
+WRKSRC= ${WRKDIR}
+BUILD_DIRS= # empty
INSTALLATION_DIRS= bin
@@ -36,5 +28,4 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/unace-bin
${INSTALL_DATA} ${WRKSRC}/licence ${PREFIX}/share/doc/unace-bin
-.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"
View
15 cad/eagle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2006/05/22 22:22:02 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2007/07/29 05:18:36 jlam Exp $
#
DISTNAME= eagle-lin-eng-4.14
@@ -12,22 +12,17 @@ MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.cadsoft.de/
COMMENT= Easy to use printed circuit board editor
-.include "../../emulators/suse_linux/Makefile.application"
-
-.if !defined(USE_NATIVE_LINUX)
-DEPENDS+= suse_x11>=6.1:../../emulators/${SUSE_DIR_PREFIX}_x11
-.endif
-
-ONLY_FOR_PLATFORM= *-*-i386
-
RESTRICTED= Redistribution not permitted
LICENSE= fee-based-commercial-use
NO_SRC_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
-NO_BUILD= YES
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= x11
+
+BUILD_DIRS= # empty
INSTALLATION_DIRS= bin
do-configure:
View
93 cad/lc/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2007/02/24 03:43:49 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.10 2007/07/29 05:18:37 jlam Exp $
-DISTNAME= lc # Overridden below
+DISTNAME= lc # overridden below
PKGNAME= lc-2.10
PKGREVISION= 2
CATEGORIES= cad
@@ -12,90 +12,53 @@ COMMENT= Finite Difference Time Domain (FDTD) Electromagnetic Simulator
DIST_SUBDIR= ${PKGNAME_NOREV}
-RESTRICTED= Original installer required to redistribute.
+RESTRICTED= Original installer required to redistribute.
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
LICENSE= lc-license
-CHECK_SHLIBS_SUPPORTED= no
-WRKSRC= ${WRKDIR}/lc2.10
-NO_BUILD= YES
+WRKSRC= ${WRKDIR}/lc2.10
+BUILD_DIRS= # empty
+
+EMUL_PLATFORMS= irix-mipsel irix-mipsel64
+EMUL_PLATFORMS+= linux-i386 linux-x86_64
+EMUL_PLATFORMS+= solaris-sparc
+EMUL_MODULES.linux= motif x11
+SUSE_VERSION_REQD= 9.1
.include "../../mk/bsd.prefs.mk"
-# With this, we can run
-# make makesum MAINTAINER_MODE=yes
-# and process all the possible distfiles without regard to what platform we're on
-.if defined(MAINTAINER_MODE)
-DISTFILES= lc_doc.tar.gz
-DISTFILES+= lc_amd64_lx24.tar.gz
-DISTFILES+= lc_irix.tar.gz
-DISTFILES+= lc_irix64.tar.gz
-DISTFILES+= lc_linux_motif1.tar.gz
-DISTFILES+= lc_linux_motif3.tar.gz
-DISTFILES+= lc_solaris.tar.gz
+DISTFILES= lc_doc.tar.gz
+.if ${EMUL_PLATFORM} == "linux-i386"
+DISTFILES+= lc_linux_motif3.tar.gz
+.elif ${EMUL_PLATFORM} == "linux-x86_64"
+DISTFILES+= lc_amd64_lx24.tar.gz
+.elif ${EMUL_PLATFORM} == "irix-mipsel"
+DISTFILES+= lc_irix.tar.gz
+.elif ${EMUL_PLATFORM} == "irix-mipsel64"
+DISTFILES+= lc_irix64.tar.gz
+.elif ${EMUL_PLATFORM} == "solaris-sparc"
+DISTFILES+= lc_solaris.tar.gz
+.endif
+.if ${EMUL_PLATFORM} == "linux-x86_64"
+WRKSRC= ${WRKDIR}/lc
+PLIST_SUBST+= HAVE_LCSPICE="@comment "
.else
-
-
-ONLY_FOR_PLATFORM= *-*-i386 *-*-mipsel *-*-mipsel64
-ONLY_FOR_PLATFORM+= *-*-sparc *-*-sparc64 *-*-x86_64
-
-.if (${MACHINE_ARCH} == "x86_64")
-DISTNAME= lc_amd64_lx24
-. if (${OPSYS} == "NetBSD")
-DEPENDS+= suse_openmotif>=9.1:../../emulators/${SUSE_DIR_PREFIX}_openmotif
-DEPENDS+= suse_x11>=9.1:../../emulators/${SUSE_DIR_PREFIX}_x11
-. endif
-WRKSRC= ${WRKDIR}/lc
-HAVE_LCSPICE= "@comment "
-
-.elif ${MACHINE_ARCH} == "mipsel"
-DISTNAME= lc_irix
-
-.elif ${MACHINE_ARCH} == "mipsel64"
-DISTNAME= lc_irix64
-
-.elif (${MACHINE_ARCH} == "i386")
-#DISTNAME= lc_linux_motif1
-DISTNAME= lc_linux_motif3
-. if (${OPSYS} == "NetBSD")
-DEPENDS+= suse_openmotif>=9.1:../../emulators/${SUSE_DIR_PREFIX}_openmotif
-DEPENDS+= suse_x11>=9.1:../../emulators/${SUSE_DIR_PREFIX}_x11
-. endif
-
-.elif ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64"
-DISTNAME= lc_solaris
-. if (${OPSYS} == "NetBSD")
-. if !exists(/emul/svr4/usr/lib/ld.so)
-PKG_FAIL_REASON+= '${PKGNAME} requires Solaris libraries - see compat_svr4(8)'
-. endif
-. endif
+PLIST_SUBST+= HAVE_LCSPICE=""
.endif
-HAVE_LCSPICE?= ""
-
-PLIST_SUBST+= HAVE_LCSPICE=${HAVE_LCSPICE}
-
-DISTFILES= lc_doc.tar.gz ${DISTNAME}${EXTRACT_SUFX}
-
INSTALLATION_DIRS= bin share
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/lc ${PREFIX}/bin/lc
${INSTALL_PROGRAM} ${WRKSRC}/bin/lcplot ${PREFIX}/bin/lcplot
if test -f ${WRKSRC}/bin/spice ; then ${INSTALL_PROGRAM} ${WRKSRC}/bin/spice ${PREFIX}/bin/lcspice ; fi
cd ${PREFIX}/share && ${TAR} -zxf ${DISTDIR}/${DIST_SUBDIR}/lc_doc.tar.gz
- ${CHMOD} -R 644 ${PREFIX}/share/lc2.10
+ ${CHMOD} -R ugo+rX ${PREFIX}/share/lc2.10
${CHOWN} -R ${SHAREOWN} ${PREFIX}/share/lc2.10
${CHGRP} -R ${SHAREGRP} ${PREFIX}/share/lc2.10
-.endif # !MAINTAINER
-
-# do not include the linux stuff if we are, for example, on a Solaris box
-. if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64")
-.include "../../emulators/suse_linux/Makefile.application"
-.endif
.include "../../mk/bsd.pkg.mk"
View
5 cad/lc/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2007/02/24 00:17:58 dmcmahill Exp $
+$NetBSD: distinfo,v 1.3 2007/07/29 05:18:37 jlam Exp $
SHA1 (lc-2.10/lc_amd64_lx24.tar.gz) = c750c470ca43047fa0ccb1029bdfc08874214491
RMD160 (lc-2.10/lc_amd64_lx24.tar.gz) = a03c53018827e13167a26f27926ebe2b3bbf5846
@@ -12,9 +12,6 @@ Size (lc-2.10/lc_irix.tar.gz) = 2658949 bytes
SHA1 (lc-2.10/lc_irix64.tar.gz) = cc616e039fe33e39b75680029f34730efda47494
RMD160 (lc-2.10/lc_irix64.tar.gz) = 1b72abfae4da8ec8f3e22ee6b9e027d8cc0c60d0
Size (lc-2.10/lc_irix64.tar.gz) = 2864612 bytes
-SHA1 (lc-2.10/lc_linux_motif1.tar.gz) = 7f46aa7846466649a57addde5ce30d6989353664
-RMD160 (lc-2.10/lc_linux_motif1.tar.gz) = ed2e7caad443dfaebc3df37765b5a563843e6653
-Size (lc-2.10/lc_linux_motif1.tar.gz) = 3020285 bytes
SHA1 (lc-2.10/lc_linux_motif3.tar.gz) = e750aa83d3bd681abd96934fa8dcea2cf9050643
RMD160 (lc-2.10/lc_linux_motif3.tar.gz) = 9a552a217bc743bd872ac475e26207bdb1708851
Size (lc-2.10/lc_linux_motif3.tar.gz) = 8773141 bytes
View
55 chat/aim/Makefile
@@ -1,44 +1,47 @@
-# $NetBSD: Makefile,v 1.16 2007/07/14 04:39:17 obache Exp $
+# $NetBSD: Makefile,v 1.17 2007/07/29 05:18:37 jlam Exp $
-DISTNAME= aim-1.5.286
+DISTNAME= aim-1.5.286-1.i386
+PKGNAME= aim-1.5.286
PKGREVISION= 1
CATEGORIES= chat
MASTER_SITES= http://ftp.newaol.com/aimgen/380469/
-EXTRACT_SUFX= -1.i386.rpm
-
-DIST_SUBDIR= # empty
-RPMFILES= ${DISTFILES}
+EXTRACT_SUFX= .rpm
MAINTAINER= fredb@NetBSD.org
HOMEPAGE= http://www.aim.com/
COMMENT= AOL Instant Messenger (SM)
-BUILD_DEPENDS+= rpm2pkg>=1.2:../../pkgtools/rpm2pkg
-
-do-install:
- ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
- ${LOCALBASE}/sbin/rpm2pkg -d ${PREFIX} -f ${PLIST_SRC} \
- -p ${EMULSUBDIR} ${DISTDIR}/${DISTFILES}
- ${LN} -fs ../${EMULSUBDIR}/usr/bin/aim ${PREFIX}/bin/aim
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= base compat x11 gtk
-.include "../../emulators/suse_linux/Makefile.application"
+.include "../../mk/bsd.prefs.mk"
-.if !defined(USE_NATIVE_LINUX)
-DEPENDS+= suse_base>=${SUSE_VERSION}:../../emulators/${SUSE_DIR_PREFIX}_base
-DEPENDS+= suse_compat>=${SUSE_VERSION}:../../emulators/${SUSE_DIR_PREFIX}_compat
-DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/${SUSE_DIR_PREFIX}_x11
-DEPENDS+= suse_gtk>=${SUSE_VERSION}:../../emulators/${SUSE_DIR_PREFIX}_gtk
+# This package installs from an RPM directly into "/usr" on a Linux
+# system, which can't be managed by pkgsrc unless ${LOCALBASE} == "/usr".
+#
+.if (${OPSYS} == "Linux") && (${LOCALBASE} != "/usr")
+NOT_FOR_PLATFORMS= Linux-*-*
.endif
-ONLY_FOR_PLATFORM= *-*-i386
-
-WRKSRC= ${WRKDIR}
-NO_BUILD= YES
+WRKSRC= ${WRKDIR}
+BUILD_DIRS= # empty
-EXTRACT_ONLY= # nothing
-PLIST_SRC= ${WRKDIR}/PLIST.rpm
-PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR:Q}
+EMUL_PKG_FMT= rpm
+RPM2PKG_PREFIX= ${PREFIX}
+RPM2PKG_SUBPREFIX= ${EMULSUBDIR}
+.if (${OPSYS} == "Linux") && (${LOCALBASE} == "/usr")
+RPM2PKG_STRIP= 1
+.else
+RPM2PKG_STRIP= 0
+.endif
+RPM2PKG_STAGE= do-install
INSTALLATION_DIRS= bin
+.if ${OPSYS} != "Linux"
+post-install:
+ ${LN} -fs ${EMULDIR}/usr/bin/aim ${PREFIX}/bin/aim
+ ${ECHO} "bin/aim" >> ${RPM2PKG_PLIST}
+.endif
+
.include "../../mk/bsd.pkg.mk"
View
2 chat/aim/PLIST
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2001/12/22 18:40:00 fredb Exp $
-bin/aim
View
44 chat/ymessenger/Makefile
@@ -1,46 +1,40 @@
-# $NetBSD: Makefile,v 1.17 2007/07/14 04:39:17 obache Exp $
+# $NetBSD: Makefile,v 1.18 2007/07/29 05:18:37 jlam Exp $
-DISTNAME= ymessenger-1.0.4
+DISTNAME= rh9.ymessenger-1.0.4-1.i386
+PKGNAME= ymessenger-1.0.4
CATEGORIES= chat
MASTER_SITES= http://download.yahoo.com/dl/unix/
-DISTFILES= rh9.${DISTNAME}-1.i386.rpm
+EXTRACT_SUFX= .rpm
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://messenger.yahoo.com/
COMMENT= Yahoo! instant messaging client
-RPMFILES= ${DISTFILES}
-
-.include "../../emulators/suse_linux/Makefile.application"
-
-EMULSUBDIR= emul/linux
-
-.if !defined(USE_NATIVE_LINUX)
-DEPENDS+= suse_compat>=6.4:../../emulators/${SUSE_DIR_PREFIX}_compat
-DEPENDS+= suse_gtk>=6.4:../../emulators/${SUSE_DIR_PREFIX}_gtk
-DEPENDS+= suse_gdk-pixbuf>=6.4:../../emulators/${SUSE_DIR_PREFIX}_gdk-pixbuf
-.endif
-
-ONLY_FOR_PLATFORM= *-*-i386
-
-DIST_SUBDIR= # empty
-
LICENSE= generic-nonlicense
RESTRICTED= Commercial software (no permission to copy is evident).
NO_SRC_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
-EXTRACT_ONLY= # empty
-NO_BUILD= yes
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR:Q}
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= compat gtk gdk-pixbuf
+
+WRKSRC= ${WRKDIR}
+BUILD_DIRS= # empty
-EMUL_YMESSENGER= ${PREFIX}/${EMULSUBDIR}/opt/ymessenger/bin/ymessenger
+EMUL_PKG_FMT= rpm
+RPM2PKG_PREFIX= ${PREFIX}
+RPM2PKG_SUBPREFIX= ${EMULSUBDIR}
+RPM2PKG_STAGE= do-install
+RPMIGNOREFILES= ./usr
+
+EMUL_YMESSENGER= ${EMULDIR}/opt/ymessenger/bin/ymessenger
YMESSENGER= ${PREFIX}/bin/ymessenger
+
post-install:
- ${SED} '1 s,bin,${EMULSUBDIR}/bin,' < ${EMUL_YMESSENGER} > ${YMESSENGER}
+ ${SED} '1 s,bin,${EMULSUBDIRSLASH}bin,' \
+ ${EMUL_YMESSENGER} > ${YMESSENGER}
${CHMOD} 755 ${YMESSENGER}
.include "../../mk/bsd.pkg.mk"
View
16 emulators/m1/Makefile
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/06/15 13:31:28 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.9 2007/07/29 05:18:37 jlam Exp $
DISTNAME= m1074b2-lnx
PKGNAME= m1-0.7.4c
@@ -12,16 +11,11 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.emuhype.com/index.phtml?s=misc&ss=index
COMMENT= Arcade video and pinball game sound emulator (Linux binary)
-.include "../../emulators/suse_linux/Makefile.application"
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= compat
-.if !defined(USE_NATIVE_LINUX)
-DEPENDS+= suse_compat>=6.4:../../emulators/${SUSE_DIR_PREFIX}_compat
-.endif
-
-ONLY_FOR_PLATFORM= *-*-i386
-
-WRKSRC= ${WRKDIR}/m1-0.7.4
-NO_BUILD= yes
+WRKSRC= ${WRKDIR}/m1-0.7.4
+BUILD_DIRS= # empty
INSTALLATION_DIRS= bin
View
23 emulators/ski/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/01/07 09:13:53 rillig Exp $
+# $NetBSD: Makefile,v 1.8 2007/07/29 05:18:37 jlam Exp $
DISTNAME= ski-0.9.81-l6-i686
PKGNAME= ski-0.9.81.6
@@ -15,17 +15,14 @@ NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
-ONLY_FOR_PLATFORM= *-*-i386
-
-.include "../../emulators/suse_linux/Makefile.application"
-
-.if !defined(USE_NATIVE_LINUX)
-DEPENDS+= suse_x11>=6.1:../../emulators/${SUSE_DIR_PREFIX}_x11
-.endif
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= x11
WRKSRC= ${WRKDIR}
-INTERACTIVE_STAGE= fetch extract
-NO_BUILD= YES
+INTERACTIVE_STAGE= fetch
+BUILD_DIRS= # none
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 lib/X11/app-defaults
DOWNLOAD= http://www.hpl.hp.com/research/linux/ski/download.php
@@ -38,7 +35,9 @@ FETCH_MESSAGE= \
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/nue/usr/bin/*ski* ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKDIR}/nue/usr/man/man1/*ski*.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_DATA} ${WRKDIR}/nue/usr/X11R6/lib/X11/app-defaults/XSki ${PREFIX}/lib/X11/app-defaults/XSki
+ ${INSTALL_MAN} ${WRKDIR}/nue/usr/man/man1/*ski*.1 \
+ ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKDIR}/nue/usr/X11R6/lib/X11/app-defaults/XSki \
+ ${PREFIX}/lib/X11/app-defaults/XSki
.include "../../mk/bsd.pkg.mk"
View
9 emulators/suse100_aspell/DESCR
@@ -1,5 +1,6 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
+Linux compatibility package based on the SuSE Linux distribution.
+Please visit http://www.suse.com/ for more information about SuSE
+Linux.
-This package supports running ELF binaries linked with glibc2 which require
-aspell libraries.
+This package supports running ELF binaries linked with glibc2 that
+require aspell shared libraries.
View
26 emulators/suse100_aspell/Makefile
@@ -1,24 +1,14 @@
-# $NetBSD: Makefile,v 1.3 2007/04/19 15:30:20 xtraeme Exp $
+# $NetBSD: Makefile,v 1.4 2007/07/29 05:18:38 jlam Exp $
-DISTNAME= suse_aspell-${SUSE_VERSION}
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE100}
-DISTFILES= ${RPMFILES}
+DISTNAME= suse_aspell-${SUSE_VERSION}
+PKGREVISION= 2
+CATEGORIES= emulators
+DISTFILES= aspell-0.60.3-2.${SUSE_ARCH}.rpm
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for Aspell library
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Linux compatibility package for aspell
-.if !defined(USE_NATIVE_LINUX)
-DEPENDS+= suse_base-${SUSE_VERSION}{,nb*}:../../emulators/suse100_base
-.endif
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-SUSE_INCLUDE_MAKEFILE_ARCH= yes
+EMUL_MODULES.linux= base
.include "../../emulators/suse100_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
View
3 emulators/suse100_aspell/Makefile.i386
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.i386,v 1.1.1.1 2006/04/18 14:08:33 salo Exp $
-
-RPMFILES= aspell-0.60.3-2.${SUSE_ARCH}.rpm
View
3 emulators/suse100_aspell/Makefile.powerpc
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.powerpc,v 1.1.1.1 2006/04/18 14:08:33 salo Exp $
-
-RPMFILES= aspell-0.60.3-2.${SUSE_ARCH}.rpm
View
3 emulators/suse100_aspell/Makefile.x86_64
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.x86_64,v 1.1.1.1 2006/04/18 14:08:33 salo Exp $
-
-RPMFILES= aspell-0.60.3-2.${SUSE_ARCH}.rpm
View
27 emulators/suse100_base/DEINSTALL
@@ -0,0 +1,27 @@
+# $NetBSD: DEINSTALL,v 1.1 2007/07/29 05:18:38 jlam Exp $
+
+EMULDIR="${PKG_PREFIX}/@EMULSUBDIR@"
+
+case "${STAGE}" in
+DEINSTALL)
+ # Run any actions that require root privileges.
+ ${TEST} ! -x ./+ROOT_ACTIONS ||
+ ./+ROOT_ACTIONS REMOVE ${PKG_METADATA_DIR} || exit 1
+
+ # Blow away the /proc directory
+ ${RM} -fr ${EMULDIR}/proc
+
+ # Remove a stray symlink that would normally be managed by
+ # ldconfig(8).
+ #
+ ${RM} -f ${EMULDIR}/usr/@LINUX_LIBSUBDIR@/libz.so.1
+
+ # Remove some files created by pkgsrc.
+ ${RM} -f ${EMULDIR}/etc/ld.so.cache
+ ${RM} -f ${EMULDIR}/etc/mtab
+ ${RM} -f ${EMULDIR}/etc/group
+ ${RM} -f ${EMULDIR}/etc/gshadow
+ ${RM} -f ${EMULDIR}/etc/passwd
+ ${RM} -f ${EMULDIR}/etc/shadow
+ ;;
+esac
View
9 emulators/suse100_base/DESCR
@@ -1,5 +1,6 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
+Linux compatibility package based on the SuSE Linux distribution.
+Please visit http://www.suse.com/ for more information about SuSE
+Linux.
-This package supports running ELF binaries linked with glibc2 which don't
-require X11 shared libraries.
+This package supports running ELF binaries linked with glibc2 that
+don't require X11 shared libraries.
View
153 emulators/suse100_base/INSTALL
@@ -1,30 +1,149 @@
-# $NetBSD: INSTALL,v 1.4 2007/04/19 15:30:20 xtraeme Exp $
+# $NetBSD: INSTALL,v 1.5 2007/07/29 05:18:39 jlam Exp $
-case "${STAGE}" in
-POST-INSTALL)
- emulsubdir="@OPSYS_EMULSUBDIR@"
+# Generate a +ROOT_ACTIONS script that runs certain actions that require
+# superuser privileges.
+#
+case "${STAGE},$1" in
+UNPACK,|UNPACK,+ROOT_ACTIONS)
+ ${CAT} > ./+ROOT_ACTIONS << 'EOF'
+#!@SH@
+#
+# +ROOT_ACTIONS - run actions requiring superuser privileges
+#
+# Usage: ./+ROOT_ACTIONS ADD|REMOVE [metadatadir]
+#
+# This script runs certain actions that require superuser privileges.
+# If such privileges are not available, then simply output a message
+# asking the user to run this script with the appropriate elevated
+# privileges.
+#
+
+CAT="@CAT@"
+CHMOD="@CHMOD@"
+CP="@CP@"
+ECHO="@ECHO@"
+ID="@ID@"
+LN="@LN@"
+MKDIR="@MKDIR@"
+PWD_CMD="@PWD_CMD@"
+RM="@RM@"
+SH="@SH@"
+TEST="@TEST@"
+
+SELF=$0
+ACTION=$1
+
+CURDIR=`${PWD_CMD}`
+PKG_METADATA_DIR="${2-${CURDIR}}"
+: ${PKGNAME=${PKG_METADATA_DIR##*/}}
+: ${PKG_PREFIX=@PREFIX@}
- emuldir="@OPSYS_EMULDIR@"
- pkgemuldir="${PKG_PREFIX}/emul/$emulsubdir"
+EMULDIR="${PKG_PREFIX}/@EMULSUBDIR@"
+OPSYS_EMULDIR="@OPSYS_EMULDIR@"
- emuldir_pwd=`cd $emuldir 2>/dev/null && ${PWD_CMD}`
- pkgemuldir_pwd=`cd $pkgemuldir 2>/dev/null && ${PWD_CMD}`
+ROOT_ACTIONS_COOKIE="${PKG_METADATA_DIR}/+ROOT_ACTIONS_done"
+EUID=`${ID} -u`
- if ${TEST} "$emuldir_pwd" != "$pkgemuldir_pwd"; then
- if ${TEST} -e $emuldir -o -L $emuldir; then
- ${CAT} << EOF
+exitcode=0
+case $ACTION,$EUID in
+ADD,0)
+ ${ECHO} "" > ${ROOT_ACTIONS_COOKIE}
+ ${CHMOD} g+w ${ROOT_ACTIONS_COOKIE}
+ # Create an appropriate Linux-like /dev directory.
+ ${ECHO} "${PKGNAME}: populating ${EMULDIR}/dev"
+ ${MKDIR} ${EMULDIR}/dev
+ ${TEST} ! -f /dev/MAKEDEV ||
+ ${CP} /dev/MAKEDEV ${EMULDIR}/dev
+ ${TEST} ! -f /dev/MAKEDEV.subr ||
+ ${CP} /dev/MAKEDEV.subr ${EMULDIR}/dev
+ ( cd ${EMULDIR}/dev &&
+ ${SH} ./MAKEDEV std audio &&
+ ${LN} -fs sound dsp )
+
+ # Create the appropriate symlink so that the kernel will
+ # find the installed files.
+ #
+ OPSYS_EMULDIR_PWD=`cd ${OPSYS_EMULDIR} 2>/dev/null && ${PWD_CMD}`
+ EMULDIR_PWD=`cd ${EMULDIR} 2>/dev/null && ${PWD_CMD}`
+
+ if ${TEST} "${OPSYS_EMULDIR_PWD}" != "${EMULDIR_PWD}"; then
+ if ${TEST} -e ${OPSYS_EMULDIR} -o -L ${OPSYS_EMULDIR}; then
+ ${CAT} << EOM
==============================================================================
-You must create a symbolic link for ${PKGNAME} to work properly:
+The following symbolic link must be created for ${PKGNAME}
+to work properly:
- $pkgemuldir -> $emuldir
+ ${EMULDIR} -> ${OPSYS_EMULDIR}
-It seems there is something else located at $emuldir.
==============================================================================
-EOF
+EOM
else
- ${MKDIR} -p `${DIRNAME} $emuldir` &&
- ${LN} -fs $pkgemuldir $emuldir
+ ${ECHO} "${PKGNAME}: creating symlink ${EMULDIR} -> ${OPSYS_EMULDIR}"
+ ( ${MKDIR} -p `${DIRNAME} ${OPSYS_EMULDIR}` &&
+ ${LN} -fs ${EMULDIR} ${OPSYS_EMULDIR} ) || ${TRUE}
fi
fi
;;
+
+REMOVE,0)
+ ${ECHO} "${PKGNAME}: removing ${EMULDIR}/dev"
+ ${RM} -fr ${EMULDIR}/dev
+ ${RM} -f ${ROOT_ACTIONS_COOKIE}
+ ;;
+
+ADD,*)
+ if ${TEST} ! -f ${ROOT_ACTIONS_COOKIE}; then
+ ${CAT} << EOM
+==============================================================================
+Please run the following command with superuser privileges to complete
+the installation of ${PKGNAME}:
+
+ cd ${PKG_METADATA_DIR} && ${SELF} ADD
+
+==============================================================================
+EOM
+ fi
+ ;;
+
+REMOVE,*)
+ if ${TEST} -f ${ROOT_ACTIONS_COOKIE}; then
+ ${CAT} << EOM
+==============================================================================
+Please run the following command with superuser privileges to begin the
+removal of ${PKGNAME}:
+
+ cd ${PKG_METADATA_DIR} && ${SELF} REMOVE
+
+Then, please run pkg_delete(1) again to complete the removal of this
+package.
+
+==============================================================================
+EOM
+ exitcode=1
+ fi
+ ;;
+esac
+exit $exitcode
+
+EOF
+ ${CHMOD} +x ./+ROOT_ACTIONS
+ ;;
+esac
+
+EMULDIR="${PKG_PREFIX}/@EMULSUBDIR@"
+OPSYS_EMULDIR="@OPSYS_EMULDIR@"
+
+case "${STAGE}" in
+POST-INSTALL)
+ # Create a /proc mount point.
+ ${MKDIR} -p ${EMULDIR}/proc
+
+ # Make /etc/mtab usable for Linux programs.
+ ${RM} -f ${EMULDIR}/etc/mtab
+ ${LN} -fs ${EMULDIR}/proc/mounts ${EMULDIR}/etc/mtab
+
+ # Run any actions that require root privileges.
+ ${TEST} ! -x ./+ROOT_ACTIONS ||
+ ./+ROOT_ACTIONS ADD ${PKG_METADATA_DIR}
+ ;;
esac
View
88 emulators/suse100_base/Makefile
@@ -1,27 +1,18 @@
-# $NetBSD: Makefile,v 1.9 2007/04/19 15:30:20 xtraeme Exp $
+# $NetBSD: Makefile,v 1.10 2007/07/29 05:18:39 jlam Exp $
-DISTNAME= suse_base-${SUSE_VERSION}
-PKGREVISION= 3
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE100}
-DISTFILES= ${RPMFILES}
+DISTNAME= suse_base-${SUSE_VERSION}
+PKGREVISION= 4
+CATEGORIES= emulators
-MAINTAINER= tonio@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package
+MAINTAINER= tonio@NetBSD.org
+COMMENT= Linux compatibility package
-CONFLICTS= linux_SuSE-5.3 linux_lib-2.4 linuxppc_lib-[0-9]*
+CONFLICTS= linux_SuSE-5.3 linux_lib-2.4 linuxppc_lib-[0-9]*
-# these files are handled by manually during de-/installation/pkg_add
-CHECK_FILES_SKIP+= ${PREFIX}/${EMULSUBDIR}/dev/.*
-CHECK_FILES_SKIP+= ${PREFIX}/${EMULSUBDIR}/etc/ld.so.cache
-
-EXTRACT_ONLY= # empty
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR:Q} LINUX_LIB=${LINUX_LIB:Q} \
- SUSE_COMPAT32_SUFFIX=${SUSE_COMPAT32_SUFFIX:Q}
-
-.include "../../mk/bsd.prefs.mk"
+# These files are managed by the +INSTALL/+DEINSTALL scripts.
+CHECK_FILES_SKIP+= ${EMULDIR}/dev/.*
+CHECK_FILES_SKIP+= ${EMULDIR}/etc/ld.so.cache
+CHECK_FILES_SKIP+= ${EMULDIR}/usr/@LINUX_LIBSUBDIR@/libz.so.1
RPMIGNOREPATH= ./etc/bash.bashrc ./etc/bash_completion.d \
./etc/cron.daily ./etc/csh.cshrc ./etc/csh.login \
@@ -30,53 +21,36 @@ RPMIGNOREPATH= ./etc/bash.bashrc ./etc/bash_completion.d \
./etc/pam.d ./etc/profile ./etc/profile.dos \
./etc/rc.d.README ./etc/rpc ./etc/shells ./etc/ttytype
-LINUX_LDD= ${PREFIX}/${EMULSUBDIR}/usr/bin/ldd
-LINUX_LIB?= lib
+LINUX_LDD= ${EMULDIR}/usr/bin/ldd
+LINUX_LDCONFIG= ${EMULDIR}/usr/sbin/ldconfig
INSTALLATION_DIRS= sbin
+OWN_DIRS+= ${EMULSUBDIR}
+
+SUBST_CLASSES+= suse
+SUBST_STAGE.suse= do-build
+SUBST_FILES.suse= SuSE-release linux-mkpwd.sh
+SUBST_VARS.suse= EMULDIR SUSE_ARCH SUSE_VERSION
-SUSE_INCLUDE_MAKEFILE_ARCH= yes
+# Some platforms, e.g. FreeBSD, need to "brand" the ELF binaries to
+# the correct type.
+#
+BRANDELF_CMD= ${BRANDELF:D${BRANDELF} -t Linux ${LINUX_LDCONFIG}:U${TRUE}}
-do-build:
- @for FILE in ${FILESDIR}/SuSE-release ${FILESDIR}/*.sh; do \
- ${SED} -e 's#@@EMULDIR@@#${EMULDIR}#g' \
- -e 's#@@EMULSUBDIR@@#${EMULSUBDIR}#g' \
- -e 's#@@LINUX_LIB@@#${LINUX_LIB}#g' \
- -e 's#@@VERSION@@#${SUSE_VERSION}#g' \
- -e 's#@@ARCH@@#${SUSE_ARCH}#g' \
- $$FILE >${WRKDIR}/`basename $$FILE`; \
- done
+post-extract:
+ ${CP} ${FILESDIR}/SuSE-release ${WRKSRC}
+ ${CP} ${FILESDIR}/*.sh ${WRKSRC}
do-install:
- ${INSTALL_SCRIPT} ${FILESDIR}/linux-mkpwd.sh \
- ${PREFIX}/sbin/linux${SUSE_COMPAT32_SUFFIX}-mkpwd
- ${INSTALL_DATA_DIR} ${EMULDIR}/dev
- ${INSTALL_DATA} /dev/MAKEDEV ${EMULDIR}/dev
- if [ -f /dev/MAKEDEV.subr ]; then \
- ${INSTALL_DATA} /dev/MAKEDEV.subr ${EMULDIR}/dev; \
- fi
- cd ${EMULDIR}/dev && ${SH} ./MAKEDEV std audio
- cd ${EMULDIR}/dev && ${LN} -fs sound dsp
- @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
- ${RPM2PKG} ${RPM2PKGARGS}
- ${ECHO} "@dirrm ${EMULSUBDIR}" >>${PLIST_SRC}
- ${INSTALL_DATA} ${WRKDIR}/SuSE-release ${EMULDIR}/etc
- ${INSTALL_DATA_DIR} ${EMULDIR}/proc
- ${LN} -fs ${EMULDIR}/proc/mounts ${EMULDIR}/etc/mtab
-.if ${OPSYS} == "FreeBSD"
- ${BRANDELF} -t Linux ${EMULDIR}/sbin/ldconfig
-.endif
- ${EMULDIR}/sbin/ldconfig -r ${EMULDIR}
- ${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" \
- >>${PLIST_SRC}
- ${ECHO} "@unexec ${RMDIR} %D/${EMULSUBDIR}/etc 2>/dev/null || ${TRUE}" \
- >>${PLIST_SRC}
+ ${INSTALL_SCRIPT} ${WRKSRC}/linux-mkpwd.sh \
+ ${PREFIX}/sbin/${LINUX_BASE}-mkpwd
+ ${INSTALL_DATA} ${WRKSRC}/SuSE-release ${EMULDIR}/etc
+ ${BRANDELF_CMD}
${SED} -e 's:#! :#! ${EMULDIR}:' \
-e 's:^RTLD=:RTLD=/${EMULSUBDIR}:' \
- < ${LINUX_LDD} > ${LINUX_LDD}.new
+ ${LINUX_LDD} > ${LINUX_LDD}.new
${MV} ${LINUX_LDD}.new ${LINUX_LDD}
${CHMOD} +x ${LINUX_LDD}
- @${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${INSTALL_FILE} - POST-INSTALL
.include "../../emulators/suse100_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
View
14 emulators/suse100_base/Makefile.i386
@@ -1,14 +0,0 @@
-# $NetBSD: Makefile.i386,v 1.2 2006/06/06 14:53:06 salo Exp $
-
-RPMFILES= aaa_base-10.0-28.${SUSE_ARCH}.rpm \
- bash-3.0-17.${SUSE_ARCH}.rpm \
- coreutils-5.3.0-20.2.${SUSE_ARCH}.rpm \
- glibc-2.3.5-40.${SUSE_ARCH}.rpm \
- libgcc-4.0.2_20050901-3.${SUSE_ARCH}.rpm \
- libacl-2.2.31-3.${SUSE_ARCH}.rpm \
- libattr-2.4.24-2.${SUSE_ARCH}.rpm \
- libselinux-1.23.11-3.${SUSE_ARCH}.rpm \
- libstdc++-4.0.2_20050901-3.${SUSE_ARCH}.rpm \
- ncurses-5.4-71.${SUSE_ARCH}.rpm \
- readline-5.0-9.${SUSE_ARCH}.rpm \
- zlib-1.2.3-3.${SUSE_ARCH}.rpm
View
14 emulators/suse100_base/Makefile.powerpc
@@ -1,14 +0,0 @@
-# $NetBSD: Makefile.powerpc,v 1.2 2006/06/06 14:53:06 salo Exp $
-
-RPMFILES= aaa_base-10.0-28.${SUSE_ARCH}.rpm \
- bash-3.0-17.${SUSE_ARCH}.rpm \
- coreutils-5.3.0-20.2.${SUSE_ARCH}.rpm \
- glibc-2.3.5-40.${SUSE_ARCH}.rpm \
- libgcc-4.0.2_20050901-3.${SUSE_ARCH}.rpm \
- libacl-2.2.31-3.${SUSE_ARCH}.rpm \
- libattr-2.4.24-2.${SUSE_ARCH}.rpm \
- libselinux-1.23.11-3.${SUSE_ARCH}.rpm \
- libstdc++-4.0.2_20050901-3.${SUSE_ARCH}.rpm \
- ncurses-5.4-71.${SUSE_ARCH}.rpm \
- readline-5.0-9.${SUSE_ARCH}.rpm \
- zlib-1.2.3-3.${SUSE_ARCH}.rpm
View
16 emulators/suse100_base/Makefile.x86_64
@@ -1,16 +0,0 @@
-# $NetBSD: Makefile.x86_64,v 1.2 2006/06/06 14:53:06 salo Exp $
-
-RPMFILES= aaa_base-10.0-28.${SUSE_ARCH}.rpm \
- bash-3.0-17.${SUSE_ARCH}.rpm \
- coreutils-5.3.0-20.2.${SUSE_ARCH}.rpm \
- glibc-2.3.5-40.${SUSE_ARCH}.rpm \
- libgcc-4.0.2_20050901-3.${SUSE_ARCH}.rpm \
- libacl-2.2.31-3.${SUSE_ARCH}.rpm \
- libattr-2.4.24-2.${SUSE_ARCH}.rpm \
- libselinux-1.23.11-3.${SUSE_ARCH}.rpm \
- libstdc++-4.0.2_20050901-3.${SUSE_ARCH}.rpm \
- ncurses-5.4-71.${SUSE_ARCH}.rpm \
- readline-5.0-9.${SUSE_ARCH}.rpm \
- zlib-1.2.3-3.${SUSE_ARCH}.rpm
-
-LINUX_LIB= lib64
View
18 emulators/suse100_base/PLIST
@@ -1,15 +1,3 @@
-@comment $NetBSD: PLIST,v 1.2 2007/04/19 15:30:20 xtraeme Exp $
-sbin/linux${SUSE_COMPAT32_SUFFIX}-mkpwd
-@unexec ${RM} -f %D/${EMULSUBDIR}/etc/ld.so.cache
-${EMULSUBDIR}/etc/SuSE-release
-${EMULSUBDIR}/etc/mtab
-${EMULSUBDIR}/usr/${LINUX_LIB}/libz.so.1
-@exec ${MKDIR} %D/${EMULSUBDIR}/proc
-@dirrm ${EMULSUBDIR}/proc
-@unexec cd %D/${EMULSUBDIR}/etc && ${RM} -f group gshadow passwd shadow
-@exec ${MKDIR} %D/${EMULSUBDIR}/dev
-@exec cp -p /dev/MAKEDEV %D/${EMULSUBDIR}/dev
-@exec cd %D/${EMULSUBDIR}/dev && sh ./MAKEDEV std audio
-@exec cd %D/${EMULSUBDIR}/dev && ln -s sound dsp
-@unexec ${RM} -f %D/${EMULSUBDIR}/dev/*
-@dirrm ${EMULSUBDIR}/dev
+@comment $NetBSD: PLIST,v 1.3 2007/07/29 05:18:40 jlam Exp $
+sbin/${LINUX_BASE}-mkpwd
+${EMULSUBDIRSLASH}etc/SuSE-release
View
4 emulators/suse100_base/files/SuSE-release
@@ -1,2 +1,2 @@
-SuSE Linux @@VERSION@@ (@@ARCH@@)
-VERSION = @@VERSION@@
+SuSE Linux @SUSE_VERSION@ (@SUSE_ARCH@)
+VERSION = @SUSE_VERSION@
View
24 emulators/suse100_base/files/linux-mkpwd.sh
@@ -1,13 +1,31 @@
#!/bin/sh
#
-# $NetBSD: linux-mkpwd.sh,v 1.1.1.1 2006/03/09 20:34:10 tonio Exp $
+# $NetBSD: linux-mkpwd.sh,v 1.2 2007/07/29 05:18:40 jlam Exp $
+#
+
+######################################################################
+#
+# NAME
+# @LINUX_BASE@-mkpwd -- create passwd/group files for COMPAT_LINUX
+#
+# SYNOPSYS
+# @LINUX_BASE@-mkpwd
+#
+# DESCRIPTION
+# @LINUX_BASE@-mkpwd creates passwd and group files and databases
+# for a COMPAT_LINUX installation based on the files found in
+# /etc, e.g. /etc/passwd, /etc/master.passwd, /etc/group, etc.
+#
+######################################################################
SRCDIR=/etc
-DESTDIR=@@EMULDIR@@/etc
+DESTDIR=@EMULDIR@/etc
+
+[ -d $DESTDIR ] || exit 1
umask 22
cd $DESTDIR
-cp $SRCDIR/passwd .
+cp -f $SRCDIR/passwd .
sed s/^wheel:/root:/ <$SRCDIR/group >group
umask 77
View
15 emulators/suse100_base/suse.i386.mk
@@ -0,0 +1,15 @@
+# $NetBSD: suse.i386.mk,v 1.1 2007/07/29 05:18:40 jlam Exp $
+
+# SuSE i386 RPMs
+DISTFILES+= aaa_base-10.0-28.${SUSE_ARCH}.rpm
+DISTFILES+= bash-3.0-17.${SUSE_ARCH}.rpm
+DISTFILES+= coreutils-5.3.0-20.2.${SUSE_ARCH}.rpm
+DISTFILES+= glibc-2.3.5-40.${SUSE_ARCH}.rpm
+DISTFILES+= libacl-2.2.31-3.${SUSE_ARCH}.rpm
+DISTFILES+= libattr-2.4.24-2.${SUSE_ARCH}.rpm
+DISTFILES+= libgcc-4.0.2_20050901-3.${SUSE_ARCH}.rpm
+DISTFILES+= libselinux-1.23.11-3.${SUSE_ARCH}.rpm
+DISTFILES+= libstdc++-4.0.2_20050901-3.${SUSE_ARCH}.rpm
+DISTFILES+= ncurses-5.4-71.${SUSE_ARCH}.rpm
+DISTFILES+= readline-5.0-9.${SUSE_ARCH}.rpm
+DISTFILES+= zlib-1.2.3-3.${SUSE_ARCH}.rpm
View
15 emulators/suse100_base/suse.powerpc.mk
@@ -0,0 +1,15 @@
+# $NetBSD: suse.powerpc.mk,v 1.1 2007/07/29 05:18:40 jlam Exp $
+
+# SuSE PowerPC RPMs
+DISTFILES+= aaa_base-10.0-28.${SUSE_ARCH}.rpm
+DISTFILES+= bash-3.0-17.${SUSE_ARCH}.rpm
+DISTFILES+= coreutils-5.3.0-20.2.${SUSE_ARCH}.rpm
+DISTFILES+= glibc-2.3.5-40.${SUSE_ARCH}.rpm
+DISTFILES+= libgcc-4.0.2_20050901-3.${SUSE_ARCH}.rpm
+DISTFILES+= libacl-2.2.31-3.${SUSE_ARCH}.rpm
+DISTFILES+= libattr-2.4.24-2.${SUSE_ARCH}.rpm
+DISTFILES+= libselinux-1.23.11-3.${SUSE_ARCH}.rpm
+DISTFILES+= libstdc++-4.0.2_20050901-3.${SUSE_ARCH}.rpm
+DISTFILES+= ncurses-5.4-71.${SUSE_ARCH}.rpm
+DISTFILES+= readline-5.0-9.${SUSE_ARCH}.rpm
+DISTFILES+= zlib-1.2.3-3.${SUSE_ARCH}.rpm
View
17 emulators/suse100_base/suse.x86_64.mk
@@ -0,0 +1,17 @@
+# $NetBSD: suse.x86_64.mk,v 1.1 2007/07/29 05:18:40 jlam Exp $
+
+# SuSE x86_64 RPMs
+DISTFILES+= aaa_base-10.0-28.${SUSE_ARCH}.rpm
+DISTFILES+= bash-3.0-17.${SUSE_ARCH}.rpm
+DISTFILES+= coreutils-5.3.0-20.2.${SUSE_ARCH}.rpm
+DISTFILES+= glibc-2.3.5-40.${SUSE_ARCH}.rpm
+DISTFILES+= libgcc-4.0.2_20050901-3.${SUSE_ARCH}.rpm
+DISTFILES+= libacl-2.2.31-3.${SUSE_ARCH}.rpm
+DISTFILES+= libattr-2.4.24-2.${SUSE_ARCH}.rpm
+DISTFILES+= libselinux-1.23.11-3.${SUSE_ARCH}.rpm
+DISTFILES+= libstdc++-4.0.2_20050901-3.${SUSE_ARCH}.rpm
+DISTFILES+= ncurses-5.4-71.${SUSE_ARCH}.rpm
+DISTFILES+= readline-5.0-9.${SUSE_ARCH}.rpm
+DISTFILES+= zlib-1.2.3-3.${SUSE_ARCH}.rpm
+
+LINUX_LIBSUBDIR= lib64
View
9 emulators/suse100_compat/DESCR
@@ -1,5 +1,6 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
+Linux compatibility package based on the SuSE Linux distribution.
+Please visit http://www.suse.com/ for more information about SuSE
+Linux.
-This package contains some old shared libraries required for backwards
-compatibility.
+This package contains some old shared libraries required by older
+Linux binaries.
View
26 emulators/suse100_compat/Makefile
@@ -1,22 +1,16 @@
-# $NetBSD: Makefile,v 1.6 2007/04/19 15:30:20 xtraeme Exp $
+# $NetBSD: Makefile,v 1.7 2007/07/29 05:18:41 jlam Exp $
-DISTNAME= suse_compat-${SUSE_VERSION}
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE100}
-DISTFILES= ${RPMFILES}
+DISTNAME= suse_compat-${SUSE_VERSION}
+PKGREVISION= 3
+CATEGORIES= emulators
+DISTFILES+= compat-2004.11.13-4.${SUSE_ARCH}.rpm \
+ compat-g77-3.3.5-2.${SUSE_ARCH}.rpm \
+ compat-libstdc++-5.0.7-6.${SUSE_ARCH}.rpm
-MAINTAINER= tonio@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package with old shared libraries
+MAINTAINER= tonio@NetBSD.org
+COMMENT= Linux compatibility package with old shared libraries
-DEPENDS+= suse_base-${SUSE_VERSION}{,nb*}:../../emulators/suse100_base
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-SUSE_INCLUDE_MAKEFILE_ARCH= yes
+EMUL_MODULES.linux= base
.include "../../emulators/suse100_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
View
5 emulators/suse100_compat/Makefile.i386
@@ -1,5 +0,0 @@
-# $NetBSD: Makefile.i386,v 1.2 2007/03/24 21:52:04 salo Exp $
-
-RPMFILES= compat-2004.11.13-4.${SUSE_ARCH}.rpm \
- compat-g77-3.3.5-2.${SUSE_ARCH}.rpm \
- compat-libstdc++-5.0.7-6.${SUSE_ARCH}.rpm
View
5 emulators/suse100_compat/Makefile.powerpc
@@ -1,5 +0,0 @@
-# $NetBSD: Makefile.powerpc,v 1.2 2007/03/24 21:52:04 salo Exp $
-
-RPMFILES= compat-2004.11.13-4.${SUSE_ARCH}.rpm \
- compat-g77-3.3.5-2.${SUSE_ARCH}.rpm \
- compat-libstdc++-5.0.7-6.${SUSE_ARCH}.rpm
View
5 emulators/suse100_compat/Makefile.x86_64
@@ -1,5 +0,0 @@
-# $NetBSD: Makefile.x86_64,v 1.2 2007/03/24 21:52:04 salo Exp $
-
-RPMFILES= compat-2004.11.13-4.${SUSE_ARCH}.rpm \
- compat-g77-3.3.5-2.${SUSE_ARCH}.rpm \
- compat-libstdc++-5.0.7-6.${SUSE_ARCH}.rpm
View
9 emulators/suse100_expat/DESCR
@@ -1,5 +1,6 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
+Linux compatibility package based on the SuSE Linux distribution.
+Please visit http://www.suse.com/ for more information about SuSE
+Linux.
-This package supports running ELF binaries linked with glibc2 which require
-expat shared libraries.
+This package supports running ELF binaries linked with glibc2 that
+require expat shared libraries.
View
25 emulators/suse100_expat/Makefile
@@ -1,23 +1,14 @@
-# $NetBSD: Makefile,v 1.4 2007/04/19 15:30:20 xtraeme Exp $
+# $NetBSD: Makefile,v 1.5 2007/07/29 05:18:41 jlam Exp $
-DISTNAME= suse_expat-${SUSE_VERSION}
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE100}
-DISTFILES= ${RPMFILES}
+DISTNAME= suse_expat-${SUSE_VERSION}
+PKGREVISION= 2
+CATEGORIES= emulators
+DISTFILES= expat-1.95.8-5.${SUSE_ARCH}.rpm
-MAINTAINER= tonio@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for expat binaries
+MAINTAINER= tonio@NetBSD.org
+COMMENT= Linux compatibility package for expat
-DEPENDS+= suse_base-${SUSE_VERSION}{,nb*}:../../emulators/suse100_base
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-LIBTOOLIZE_PLIST= NO
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-SUSE_INCLUDE_MAKEFILE_ARCH= yes
+EMUL_MODULES.linux= base
.include "../../emulators/suse100_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
View
3 emulators/suse100_expat/Makefile.i386
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.i386,v 1.1.1.1 2006/03/09 20:35:09 tonio Exp $
-
-RPMFILES= expat-1.95.8-5.${SUSE_ARCH}.rpm
View
3 emulators/suse100_expat/Makefile.powerpc
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.powerpc,v 1.1.1.1 2006/03/09 20:35:09 tonio Exp $
-
-RPMFILES= expat-1.95.8-5.${SUSE_ARCH}.rpm
View
3 emulators/suse100_expat/Makefile.x86_64
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.x86_64,v 1.1.1.1 2006/03/09 20:35:09 tonio Exp $
-
-RPMFILES= expat-1.95.8-5.${SUSE_ARCH}.rpm
View
9 emulators/suse100_fontconfig/DESCR
@@ -1,5 +1,6 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
+Linux compatibility package based on the SuSE Linux distribution.
+Please visit http://www.suse.com/ for more information about SuSE
+Linux.
-This package supports running ELF binaries linked with glibc2 which require
-fontconfig shared libraries.
+This package supports running ELF binaries linked with glibc2 that
+require fontconfig shared libraries.
View
25 emulators/suse100_fontconfig/Makefile
@@ -1,23 +1,14 @@
-# $NetBSD: Makefile,v 1.5 2007/04/19 15:30:20 xtraeme Exp $
+# $NetBSD: Makefile,v 1.6 2007/07/29 05:18:42 jlam Exp $
-DISTNAME= suse_fontconfig-${SUSE_VERSION}
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE100}
-DISTFILES= ${RPMFILES}
+DISTNAME= suse_fontconfig-${SUSE_VERSION}
+PKGREVISION= 3
+CATEGORIES= emulators
+DISTFILES= fontconfig-2.3.2.20050721-10.2.${SUSE_ARCH}.rpm
-MAINTAINER= tonio@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for fontconfig binaries
+MAINTAINER= tonio@NetBSD.org
+COMMENT= Linux compatibility package for fontconfig
-DEPENDS+= suse_expat-${SUSE_VERSION}{,nb*}:../../emulators/suse100_expat
-DEPENDS+= suse_freetype2-${SUSE_VERSION}{,nb*}:../../emulators/suse100_freetype2
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-SUSE_INCLUDE_MAKEFILE_ARCH= yes
+EMUL_MODULES.linux= expat freetype2
.include "../../emulators/suse100_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
View
3 emulators/suse100_fontconfig/Makefile.i386
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.i386,v 1.2 2006/06/06 14:53:06 salo Exp $
-
-RPMFILES= fontconfig-2.3.2.20050721-10.2.${SUSE_ARCH}.rpm
View
3 emulators/suse100_fontconfig/Makefile.powerpc
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.powerpc,v 1.2 2006/06/06 14:53:06 salo Exp $
-
-RPMFILES= fontconfig-2.3.2.20050721-10.2.${SUSE_ARCH}.rpm
View
3 emulators/suse100_fontconfig/Makefile.x86_64
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.x86_64,v 1.2 2006/06/06 14:53:06 salo Exp $
-
-RPMFILES= fontconfig-2.3.2.20050721-10.2.${SUSE_ARCH}.rpm
View
9 emulators/suse100_freetype2/DESCR
@@ -1,5 +1,6 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
+Linux compatibility package based on the SuSE Linux distribution.
+Please visit http://www.suse.com/ for more information about SuSE
+Linux.
-This package supports running ELF binaries linked with freetype2 shared
-libraries.
+This package supports running ELF binaries linked with glibc2 that
+require freetype2 shared libraries.
View
24 emulators/suse100_freetype2/Makefile
@@ -1,22 +1,14 @@
-# $NetBSD: Makefile,v 1.6 2007/04/19 15:30:20 xtraeme Exp $
+# $NetBSD: Makefile,v 1.7 2007/07/29 05:18:43 jlam Exp $
-DISTNAME= suse_freetype2-${SUSE_VERSION}
-PKGREVISION= 3
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE100}
-DISTFILES= ${RPMFILES}
+DISTNAME= suse_freetype2-${SUSE_VERSION}
+PKGREVISION= 4
+CATEGORIES= emulators
+DISTFILES= freetype2-2.1.10-4.4.${SUSE_ARCH}.rpm
-MAINTAINER= tonio@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for FreeType2 library
+MAINTAINER= tonio@NetBSD.org
+COMMENT= Linux compatibility package for freetype-2.x
-DEPENDS+= suse_base-${SUSE_VERSION}{,nb*}:../../emulators/suse100_base
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-SUSE_INCLUDE_MAKEFILE_ARCH= yes
+EMUL_MODULES.linux= base
.include "../../emulators/suse100_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
View
3 emulators/suse100_freetype2/Makefile.i386
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.i386,v 1.3 2006/08/02 14:26:13 salo Exp $
-
-RPMFILES= freetype2-2.1.10-4.4.${SUSE_ARCH}.rpm
View
3 emulators/suse100_freetype2/Makefile.powerpc
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.powerpc,v 1.3 2006/08/02 14:26:13 salo Exp $
-
-RPMFILES= freetype2-2.1.10-4.4.${SUSE_ARCH}.rpm
View
3 emulators/suse100_freetype2/Makefile.x86_64
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.x86_64,v 1.3 2006/08/02 14:26:13 salo Exp $
-
-RPMFILES= freetype2-2.1.10-4.4.${SUSE_ARCH}.rpm
View
8 emulators/suse100_gdk-pixbuf/DESCR
@@ -1,4 +1,6 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
+Linux compatibility package based on the SuSE Linux distribution.
+Please visit http://www.suse.com/ for more information about SuSE
+Linux.
-This package supports running ELF binaries that use gdk-pixbuf shared libraries.
+This package supports running ELF binaries linked with glibc2 that
+require gdk-pixbuf shared libraries.
View
24 emulators/suse100_gdk-pixbuf/Makefile
@@ -1,22 +1,14 @@
-# $NetBSD: Makefile,v 1.4 2007/04/19 15:30:21 xtraeme Exp $
+# $NetBSD: Makefile,v 1.5 2007/07/29 05:18:44 jlam Exp $
-DISTNAME= suse_gdk-pixbuf-${SUSE_VERSION}
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE100}
-DISTFILES= ${RPMFILES}
+DISTNAME= suse_gdk-pixbuf-${SUSE_VERSION}
+PKGREVISION= 3
+CATEGORIES= emulators
+DISTFILES= gdk-pixbuf-0.22.0-72.3.${SUSE_ARCH}.rpm
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for gdk-pixbuf binaries
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Linux compatibility package for gdk-pixbuf
-DEPENDS+= suse_gtk-${SUSE_VERSION}{,nb*}:../../emulators/suse100_gtk
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-SUSE_INCLUDE_MAKEFILE_ARCH= yes
+EMUL_MODULES.linux= gtk
.include "../../emulators/suse100_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
View
3 emulators/suse100_gdk-pixbuf/Makefile.i386
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.i386,v 1.2 2006/06/06 14:53:06 salo Exp $
-
-RPMFILES= gdk-pixbuf-0.22.0-72.3.${SUSE_ARCH}.rpm
View
3 emulators/suse100_gdk-pixbuf/Makefile.powerpc
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.powerpc,v 1.2 2006/06/06 14:53:06 salo Exp $
-
-RPMFILES= gdk-pixbuf-0.22.0-72.3.${SUSE_ARCH}.rpm
View
3 emulators/suse100_gdk-pixbuf/Makefile.x86_64
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.x86_64,v 1.2 2006/06/06 14:53:06 salo Exp $
-
-RPMFILES= gdk-pixbuf-0.22.0-72.3.${SUSE_ARCH}.rpm
View
8 emulators/suse100_glx/DESCR
@@ -1,4 +1,6 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
+Linux compatibility package based on the SuSE Linux distribution.
+Please visit http://www.suse.com/ for more information about SuSE
+Linux.
-This package supports running ELF binaries which require GL shared libraries.
+This package supports running ELF binaries linked with glibc2 that
+require OpenGL/Mesa shared libraries.
View
25 emulators/suse100_glx/Makefile
@@ -1,23 +1,16 @@
-# $NetBSD: Makefile,v 1.4 2007/04/19 15:30:21 xtraeme Exp $
+# $NetBSD: Makefile,v 1.5 2007/07/29 05:18:45 jlam Exp $
-DISTNAME= suse_glx-${SUSE_VERSION}
-PKGREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE100}
-DISTFILES= ${RPMFILES}
+DISTNAME= suse_glx-${SUSE_VERSION}
+PKGREVISION= 3
+CATEGORIES= emulators
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for the GL library
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Linux compatibility package for OpenGL/Mesa
-DEPENDS+= suse_x11-${SUSE_VERSION}{,nb*}:../../emulators/suse100_x11
+EMUL_MODULES.linux= x11
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-LIBTOOLIZE_PLIST= NO
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-SUSE_INCLUDE_MAKEFILE_ARCH= yes
+# This symlink is managed by ldconfig(8).
+CHECK_FILES_SKIP+= ${EMULDIR}/usr/${LINUX_LIBSUBDIR}/libglide.so.3
.include "../../emulators/suse100_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
View
5 emulators/suse100_glx/Makefile.i386
@@ -1,5 +0,0 @@
-# $NetBSD: Makefile.i386,v 1.1.1.1 2006/04/18 15:18:39 salo Exp $
-
-# the -devel version is necessary for libGL.so et.al. symlinks only
-RPMFILES= xorg-x11-Mesa-6.8.2-100.${SUSE_ARCH}.rpm \
- xorg-x11-Mesa-devel-6.8.2-100.${SUSE_ARCH}.rpm
View
5 emulators/suse100_glx/Makefile.powerpc
@@ -1,5 +0,0 @@
-# $NetBSD: Makefile.powerpc,v 1.1.1.1 2006/04/18 15:18:39 salo Exp $
-
-# the -devel version is necessary for libGL.so et.al. symlinks only
-RPMFILES= xorg-x11-Mesa-6.8.2-100.${SUSE_ARCH}.rpm \
- xorg-x11-Mesa-devel-6.8.2-100.${SUSE_ARCH}.rpm
View
7 emulators/suse100_glx/Makefile.x86_64
@@ -1,7 +0,0 @@
-# $NetBSD: Makefile.x86_64,v 1.1.1.1 2006/04/18 15:18:39 salo Exp $
-
-# the -devel version is necessary for libGL.so et.al. symlinks only
-RPMFILES= xorg-x11-Mesa-6.8.2-100.${SUSE_ARCH}.rpm \
- xorg-x11-Mesa-devel-6.8.2-100.${SUSE_ARCH}.rpm \
- xorg-x11-Mesa-32bit-6.8.2-100.${SUSE_ARCH}.rpm \
- xorg-x11-Mesa-devel-32bit-6.8.2-100.${SUSE_ARCH}.rpm
View
2 emulators/suse100_glx/PLIST_rpmfix.i386
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST_rpmfix.i386,v 1.1 2006/04/28 14:15:06 joerg Exp $
-/usr/lib/libglide3.so.3
View
7 emulators/suse100_glx/suse.i386.mk
@@ -0,0 +1,7 @@
+# $NetBSD: suse.i386.mk,v 1.1 2007/07/29 05:18:47 jlam Exp $
+
+# SuSE i386 RPMs; the -devel version is necessary for libGL.so et.al.
+# symlinks only.
+#
+DISTFILES+= xorg-x11-Mesa-6.8.2-100.${SUSE_ARCH}.rpm
+DISTFILES+= xorg-x11-Mesa-devel-6.8.2-100.${SUSE_ARCH}.rpm
View
7 emulators/suse100_glx/suse.powerpc.mk
@@ -0,0 +1,7 @@
+# $NetBSD: suse.powerpc.mk,v 1.1 2007/07/29 05:18:47 jlam Exp $
+
+# SuSE PowerPC RPMs; the -devel version is necessary for libGL.so et.al.
+# symlinks only.
+#
+DISTFILES+= xorg-x11-Mesa-6.8.2-100.${SUSE_ARCH}.rpm
+DISTFILES+= xorg-x11-Mesa-devel-6.8.2-100.${SUSE_ARCH}.rpm
View
9 emulators/suse100_glx/suse.x86_64.mk
@@ -0,0 +1,9 @@
+# $NetBSD: suse.x86_64.mk,v 1.1 2007/07/29 05:18:47 jlam Exp $
+
+# SuSE x86_64 RPMs; the -devel version is necessary for libGL.so et.al.
+# symlinks only.
+#
+DISTFILES+= xorg-x11-Mesa-6.8.2-100.${SUSE_ARCH}.rpm
+DISTFILES+= xorg-x11-Mesa-devel-6.8.2-100.${SUSE_ARCH}.rpm
+DISTFILES+= xorg-x11-Mesa-32bit-6.8.2-100.${SUSE_ARCH}.rpm
+DISTFILES+= xorg-x11-Mesa-devel-32bit-6.8.2-100.${SUSE_ARCH}.rpm
View
9 emulators/suse100_gtk/DESCR
@@ -1,5 +1,6 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
+Linux compatibility package based on the SuSE Linux distribution.
+Please visit http://www.suse.com/ for more information about SuSE
+Linux.
-This package supports running ELF binaries linked with glibc2 which require
-GTK shared libraries.
+This package supports running ELF binaries linked with glibc2 that
+require GTK+-1.x shared libraries.
View
25 emulators/suse100_gtk/Makefile
@@ -1,22 +1,15 @@
-# $NetBSD: Makefile,v 1.3 2007/04/19 15:30:21 xtraeme Exp $
+# $NetBSD: Makefile,v 1.4 2007/07/29 05:18:47 jlam Exp $
-DISTNAME= suse_gtk-${SUSE_VERSION}
-PKGREVISION= 1
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE100}
-DISTFILES= ${RPMFILES}
+DISTNAME= suse_gtk-${SUSE_VERSION}
+PKGREVISION= 2
+CATEGORIES= emulators
+DISTFILES= glib-1.2.10-595.${SUSE_ARCH}.rpm \
+ gtk-1.2.10-888.${SUSE_ARCH}.rpm
-MAINTAINER= tron@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for GTK binaries
+MAINTAINER= tron@NetBSD.org
+COMMENT= Linux compatibility package for GTK+-1.x
-DEPENDS+= suse_x11-${SUSE_VERSION}{,nb*}:../../emulators/suse100_x11
-
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-SUSE_INCLUDE_MAKEFILE_ARCH= yes
+EMUL_MODULES.linux= x11
.include "../../emulators/suse100_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
View
4 emulators/suse100_gtk/Makefile.i386
@@ -1,4 +0,0 @@
-# $NetBSD: Makefile.i386,v 1.1.1.2 2006/04/18 13:58:47 tron Exp $
-
-RPMFILES= glib-1.2.10-595.${SUSE_ARCH}.rpm \
- gtk-1.2.10-888.${SUSE_ARCH}.rpm
View
4 emulators/suse100_gtk/Makefile.powerpc
@@ -1,4 +0,0 @@
-# $NetBSD: Makefile.powerpc,v 1.1.1.1 2006/04/18 13:49:58 salo Exp $
-
-RPMFILES= glib-1.2.10-595.${SUSE_ARCH}.rpm \
- gtk-1.2.10-888.${SUSE_ARCH}.rpm
View
4 emulators/suse100_gtk/Makefile.x86_64
@@ -1,4 +0,0 @@
-# $NetBSD: Makefile.x86_64,v 1.1.1.1 2006/04/18 13:49:58 salo Exp $
-
-RPMFILES= glib-1.2.10-595.${SUSE_ARCH}.rpm \
- gtk-1.2.10-888.${SUSE_ARCH}.rpm
View
15 emulators/suse100_gtk2/DEINSTALL
@@ -0,0 +1,15 @@
+# $NetBSD: DEINSTALL,v 1.1 2007/07/29 05:18:48 jlam Exp $
+#
+# Remove gtk/pango module configuration.
+#
+case ${STAGE} in
+DEINSTALL)
+ GNOME_BINDIR="${PKG_PREFIX}/@EMULSUBDIR@/opt/gnome/bin"
+ GNOME_ETCDIR="${PKG_PREFIX}/@EMULSUBDIR@/etc/opt/gnome"
+
+ ${ECHO} "${PKGNAME}: removing GTK/Pango module configuration"
+ ${RM} -f ${GNOME_ETCDIR}/gtk-2.0/gtk.immodules
+ ${RM} -f ${GNOME_ETCDIR}/gtk-2.0/gdk-pixbuf.loaders
+ ${RM} -f ${GNOME_ETCDIR}/pango/pango.modules
+ ;;
+esac
View
9 emulators/suse100_gtk2/DESCR
@@ -1,5 +1,6 @@
-Linux compatibility package based on the SuSE Linux distribution, take a
-look at "http://www.suse.com/" for more information about it.
+Linux compatibility package based on the SuSE Linux distribution.
+Please visit http://www.suse.com/ for more information about SuSE
+Linux.
-This package supports running ELF binaries linked with glibc2 which require
-GTK2 shared libraries.
+This package supports running ELF binaries linked with glibc2 that
+require GTK+-2.x shared libraries.
View
16 emulators/suse100_gtk2/INSTALL
@@ -1,15 +1,17 @@
-# $NetBSD: INSTALL,v 1.2 2007/02/18 12:34:19 tonio Exp $
+# $NetBSD: INSTALL,v 1.3 2007/07/29 05:18:48 jlam Exp $
#
# Initialize gtk/pango module configuration.
#
case ${STAGE} in
- POST-INSTALL)
- @EMULDIR@/opt/gnome/bin/gtk-query-immodules-2.0@BINSUFFIX@ > @EMULDIR@/etc/opt/gnome/gtk-2.0/gtk.immodules
+POST-INSTALL)
+ GNOME_BINDIR="${PKG_PREFIX}/@EMULSUBDIR@/opt/gnome/bin"
+ GNOME_ETCDIR="${PKG_PREFIX}/@EMULSUBDIR@/etc/opt/gnome"
- @EMULDIR@/opt/gnome/bin/gdk-pixbuf-query-loaders@BINSUFFIX@ > @EMULDIR@/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders
+ ${ECHO} "${PKGNAME}: initializing GTK/Pango module configuration"
+ ${GNOME_BINDIR}/gtk-query-immodules-2.0@BINSUFFIX@ > ${GNOME_ETCDIR}/gtk-2.0/gtk.immodules
- @EMULDIR@/opt/gnome/bin/pango-querymodules@BINSUFFIX@ > @EMULDIR@/etc/opt/gnome/pango/pango.modules
- ;;
- *)
+ ${GNOME_BINDIR}/gdk-pixbuf-query-loaders@BINSUFFIX@ > ${GNOME_ETCDIR}/gtk-2.0/gdk-pixbuf.loaders
+
+ ${GNOME_BINDIR}/pango-querymodules@BINSUFFIX@ > ${GNOME_ETCDIR}/pango/pango.modules
;;
esac
View
43 emulators/suse100_gtk2/Makefile
@@ -1,32 +1,27 @@
-# $NetBSD: Makefile,v 1.8 2007/04/19 15:30:21 xtraeme Exp $
+# $NetBSD: Makefile,v 1.9 2007/07/29 05:18:48 jlam Exp $
-DISTNAME= suse_gtk2-${SUSE_VERSION}
-PKGREVISION= 3
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUSE100}
-DISTFILES= ${RPMFILES}
+DISTNAME= suse_gtk2-${SUSE_VERSION}
+PKGREVISION= 4
+CATEGORIES= emulators
+DISTFILES= atk-1.10.3-2.${SUSE_ARCH}.rpm \
+ glib2-2.8.1-3.${SUSE_ARCH}.rpm \
+ gtk2-2.8.3-4.7.${SUSE_ARCH}.rpm \
+ cairo-1.0.0-7.4.${SUSE_ARCH}.rpm \
+ glitz-0.4.4-4.${SUSE_ARCH}.rpm \
+ pango-1.10.0-3.${SUSE_ARCH}.rpm
-MAINTAINER= tonio@NetBSD.org
-HOMEPAGE= http://www.suse.com/
-COMMENT= Linux compatibility package for GTK2 binaries
+MAINTAINER= tonio@NetBSD.org
+COMMENT= Linux compatibility package for GTK+-2.x
-DEPENDS+= suse_fontconfig-${SUSE_VERSION}{,nb*}:../../emulators/suse100_fontconfig
-DEPENDS+= suse_freetype2-${SUSE_VERSION}{,nb*}:../../emulators/suse100_freetype2
-DEPENDS+= suse_libjpeg-${SUSE_VERSION}{,nb*}:../../emulators/suse100_libjpeg
-DEPENDS+= suse_libpng-${SUSE_VERSION}{,nb*}:../../emulators/suse100_libpng
-DEPENDS+= suse_libtiff-${SUSE_VERSION}{,nb*}:../../emulators/suse100_libtiff
-DEPENDS+= suse_x11-${SUSE_VERSION}{,nb*}:../../emulators/suse100_x11
+EMUL_MODULES.linux= fontconfig freetype2 jpeg png tiff x11
-EXTRACT_ONLY= # empty
-NO_BUILD= YES
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+# These files are managed by the +INSTALL/+DEINSTALL scripts.
+CHECK_FILES_SKIP+= ${EMULDIR}/etc/opt/gnome/gtk-2.0/gtk.immodules
+CHECK_FILES_SKIP+= ${EMULDIR}/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders
+CHECK_FILES_SKIP+= ${EMULDIR}/etc/opt/gnome/pango/pango.modules
-# Initialize gtk/pango modules.
-FILES_SUBST+= EMULDIR=${EMULDIR:Q}
-FILES_SUBST+= BINSUFFIX=${BINSUFFIX:Q}
-PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR:Q}
-
-SUSE_INCLUDE_MAKEFILE_ARCH= yes
+BINSUFFIX?= # empty
+FILES_SUBST+= BINSUFFIX=${BINSUFFIX:Q}
.include "../../emulators/suse100_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
View
10 emulators/suse100_gtk2/Makefile.i386
@@ -1,10 +0,0 @@
-# $NetBSD: Makefile.i386,v 1.4 2007/03/24 21:52:51 salo Exp $
-
-RPMFILES= atk-1.10.3-2.${SUSE_ARCH}.rpm \
- glib2-2.8.1-3.${SUSE_ARCH}.rpm \
- gtk2-2.8.3-4.7.${SUSE_ARCH}.rpm \
- cairo-1.0.0-7.4.${SUSE_ARCH}.rpm \
- glitz-0.4.4-4.${SUSE_ARCH}.rpm \
- pango-1.10.0-3.${SUSE_ARCH}.rpm
-
-BINSUFFIX=
View
10 emulators/suse100_gtk2/Makefile.powerpc