pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/minivmac



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Thu Oct 10 13:54:17 UTC 2019

Modified Files:
        pkgsrc/emulators/minivmac: Makefile PLIST distinfo
Added Files:
        pkgsrc/emulators/minivmac/patches: patch-setup_WRBGCFLS.i
Removed Files:
        pkgsrc/emulators/minivmac/patches: patch-aa

Log Message:
Update to 36.04

Building procedure is described at
https://www.gryphel.com/c/minivmac/build.html .

Changelog:
unknown


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/emulators/minivmac/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/emulators/minivmac/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/emulators/minivmac/distinfo
cvs rdiff -u -r1.1.1.1 -r0 pkgsrc/emulators/minivmac/patches/patch-aa
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/minivmac/patches/patch-setup_WRBGCFLS.i

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/minivmac/Makefile
diff -u pkgsrc/emulators/minivmac/Makefile:1.20 pkgsrc/emulators/minivmac/Makefile:1.21
--- pkgsrc/emulators/minivmac/Makefile:1.20     Sun Jan  7 21:46:55 2018
+++ pkgsrc/emulators/minivmac/Makefile  Thu Oct 10 13:54:17 2019
@@ -1,27 +1,71 @@
-# $NetBSD: Makefile,v 1.20 2018/01/07 21:46:55 rillig Exp $
+# $NetBSD: Makefile,v 1.21 2019/10/10 13:54:17 ryoon Exp $
 
-DISTNAME=      minivmac-0.1.7.src
-PKGNAME=       minivmac-0.1.7
-PKGREVISION=   2
+DISTNAME=      minivmac-36.04.src
+PKGNAME=       ${DISTNAME:S/.src//}
 CATEGORIES=    emulators
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=minivmac/}
+MASTER_SITES=  https://www.gryphel.com/d/minivmac/minivmac-${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tgz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://minivmac.sourceforge.net/
+HOMEPAGE=      https://www.gryphel.com/c/minivmac/
 COMMENT=       Miniature Macintosh emulator
 LICENSE=       gnu-gpl-v2
 
 WRKSRC=                ${WRKDIR}/minivmac
-SCRIPTS_ENV+=  CC=${CC:Q}
-AUTO_MKDIRS=   yes
 
-do-build:
-       cd ${WRKSRC}/tool/bash; ${SETENV} ${SCRIPTS_ENV} ${SH} build
+SUBST_CLASSES+=                prefix
+SUBST_STAGE.prefix=    pre-configure
+SUBST_MESSAGE.prefix=  Setting X11BASE
+SUBST_FILES.prefix+=   setup/WRBGCFLS.i
+SUBST_VARS.prefix+=    X11BASE COMPILER_RPATH_FLAG
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64)
+MVMTARGET=     nb64
+.elif !empty(MACHINE_PLATFORM:MNetBSD-*-i386)
+MVMTARGET=     nbsd
+.elif !empty(MACHINE_PLATFORM:MLinux-*-x86_64)
+MVMTARGET=     lx64
+.elif !empty(MACHINE_PLATFORM:MLinux-*-i386)
+MVMTARGET=     lx86
+.elif !empty(MACHINE_PLATFORM:MDarwin-*-x86_64)
+MVMTARGET=     mc64
+.elif !empty(MACHINE_PLATFORM:MDarwin-*-i386)
+MVMTARGET=     imch
+.elif !empty(MACHINE_PLATFORM:MFreeBSD-*-x86_86)
+MVMTARGET=     fb64
+.elif !empty(MACHINE_PLATFORM:MFreeBSD-*-i386)
+MVMTARGET=     fbsd
+.elif !empty(MACHINE_PLATFORM:MOpenBSD-*-x86_64)
+MVMTARGET=     ob64
+.elif !empty(MACHINE_PLATFORM:MOpenBSD-*-i386)
+MVMTARGET=     obsd
+.elif !empty(MACHINE_PLATFORM:MDragonFly-*-x86_64)
+MVMTARGET=     db64
+.elif !empty(MACHINE_PLATFORM:MDragonFly-*-i386)
+MVMTARGET=     dfbs
+.elif !empty(MACHINE_PLATFORM:MSunOS-*-x86_64)
+MVMTARGET=     oi64
+.elif !empty(MACHINE_PLATFORM:MSunOS-*-i386)
+MVMTARGET=     oind
+.else
+NOT_FOR_PLATFORM+=     ${MACHINE_PLATFORM}
+.endif
+
+BUILD_TARGET=  minivmac
+
+INSTALLATION_DIRS+=    bin
+
+do-configure:
+       cd ${WRKSRC} && \
+               ${CC} setup/tool.c -o setup_t && \
+               ./setup_t -t ${MVMTARGET} > ./setup.sh && \
+               ${SH} ./setup.sh
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/drv/minivmac ${DESTDIR}${PREFIX}/bin
-       ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DESTDIR}${PREFIX}/share/doc/minivmac
+       ${INSTALL_PROGRAM} ${WRKSRC}/minivmac ${DESTDIR}${PREFIX}/bin
 
-.include "../../x11/libXext/buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/emulators/minivmac/PLIST
diff -u pkgsrc/emulators/minivmac/PLIST:1.5 pkgsrc/emulators/minivmac/PLIST:1.6
--- pkgsrc/emulators/minivmac/PLIST:1.5 Sun Jan  7 21:46:56 2018
+++ pkgsrc/emulators/minivmac/PLIST     Thu Oct 10 13:54:17 2019
@@ -1,11 +1,2 @@
-@comment $NetBSD: PLIST,v 1.5 2018/01/07 21:46:56 rillig Exp $
+@comment $NetBSD: PLIST,v 1.6 2019/10/10 13:54:17 ryoon Exp $
 bin/minivmac
-share/doc/minivmac/about.html
-share/doc/minivmac/autoquit.html
-share/doc/minivmac/build.html
-share/doc/minivmac/contents.html
-share/doc/minivmac/credits.html
-share/doc/minivmac/default.html
-share/doc/minivmac/license.html
-share/doc/minivmac/manual.html
-share/doc/minivmac/todo.html

Index: pkgsrc/emulators/minivmac/distinfo
diff -u pkgsrc/emulators/minivmac/distinfo:1.3 pkgsrc/emulators/minivmac/distinfo:1.4
--- pkgsrc/emulators/minivmac/distinfo:1.3      Tue Nov  3 20:31:00 2015
+++ pkgsrc/emulators/minivmac/distinfo  Thu Oct 10 13:54:17 2019
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 20:31:00 agc Exp $
+$NetBSD: distinfo,v 1.4 2019/10/10 13:54:17 ryoon Exp $
 
-SHA1 (minivmac-0.1.7.src.tgz) = 761b56ec9d4dbc2a3b200dd40a9c44b93913e308
-RMD160 (minivmac-0.1.7.src.tgz) = 132ddc014d74f0c60be5357f69f4528f0c86db97
-SHA512 (minivmac-0.1.7.src.tgz) = 6bb743bd3076c3191f291c2298f898c705bc88264abfa58fa7aa1ca59611034bc7794adb4b77df33abc64c8ab7d4366ab90093d199e9788c1a4052b2b14e2f82
-Size (minivmac-0.1.7.src.tgz) = 93155 bytes
-SHA1 (patch-aa) = c1f992d7277edb53c88d6b973cfe1046c5633434
+SHA1 (minivmac-36.04.src.tgz) = 6b5c1e00689683313a8b2c2047669939544003cf
+RMD160 (minivmac-36.04.src.tgz) = 613534f9aa4fd779d245f5511731617df4da3bb6
+SHA512 (minivmac-36.04.src.tgz) = 4de672b4a7127466e30676868cf1f49b155a1231eb7d124fd5b4236f628db8351f45db5f24564932745fa7840f6ea40707bfc46d95f3a403165f05b443367a3f
+Size (minivmac-36.04.src.tgz) = 500742 bytes
+SHA1 (patch-setup_WRBGCFLS.i) = 670784065ef5d58b74a20022eec91ff2be42fd42

Added files:

Index: pkgsrc/emulators/minivmac/patches/patch-setup_WRBGCFLS.i
diff -u /dev/null pkgsrc/emulators/minivmac/patches/patch-setup_WRBGCFLS.i:1.1
--- /dev/null   Thu Oct 10 13:54:17 2019
+++ pkgsrc/emulators/minivmac/patches/patch-setup_WRBGCFLS.i    Thu Oct 10 13:54:17 2019
@@ -0,0 +1,17 @@
+$NetBSD: patch-setup_WRBGCFLS.i,v 1.1 2019/10/10 13:54:17 ryoon Exp $
+
+* Detect libX11 properly
+
+--- setup/WRBGCFLS.i.orig      2018-08-19 11:02:48.000000000 +0000
++++ setup/WRBGCFLS.i
+@@ -363,8 +363,8 @@ LOCALPROC WriteBashGccMakeFile(void)
+                               WriteCStrToDestFile(" -lXext");
+ #endif
+                               if (gbk_targfam_nbsd == gbo_targfam) {
+-                                      WriteCStrToDestFile(" -L/usr/X11R7/lib");
+-                                      WriteCStrToDestFile(" -R/usr/X11R7/lib");
++                                      WriteCStrToDestFile(" -L@X11BASE@/lib");
++                                      WriteCStrToDestFile(" @COMPILER_RPATH_FLAG@@X11BASE@/lib");
+                               } else if (gbk_targfam_dbsd == gbo_targfam) {
+                                       WriteCStrToDestFile(" -L/usr/pkg/lib");
+                               } else if (gbk_targfam_minx == gbo_targfam) {



Home | Main Index | Thread Index | Old Index