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:           Tue Aug 27 16:01:30 UTC 2024

Modified Files:
        pkgsrc/emulators/minivmac: Makefile PLIST

Log Message:
emulators/minivmac: Build and install non-Plus emulators too

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/emulators/minivmac/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/emulators/minivmac/PLIST

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.22 pkgsrc/emulators/minivmac/Makefile:1.23
--- pkgsrc/emulators/minivmac/Makefile:1.22     Sun Nov  3 19:24:33 2019
+++ pkgsrc/emulators/minivmac/Makefile  Tue Aug 27 16:01:30 2024
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2019/11/03 19:24:33 rillig Exp $
+# $NetBSD: Makefile,v 1.23 2024/08/27 16:01:30 ryoon Exp $
 
 DISTNAME=      minivmac-36.04.src
 PKGNAME=       ${DISTNAME:S/.src//}
+PKGREVISION=   1
 CATEGORIES=    emulators
 MASTER_SITES=  https://www.gryphel.com/d/minivmac/minivmac-${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tgz
@@ -55,16 +56,30 @@ NOT_FOR_PLATFORM+=  ${MACHINE_PLATFORM}
 
 BUILD_TARGET=  minivmac
 
+MODELS=                128K 512Ke Plus SE Classic SEFDHD II
+BUILD_DIRS=    ${MODELS}
+
 INSTALLATION_DIRS+=    bin
 
 do-configure:
        cd ${WRKSRC} && \
-               ${CC} setup/tool.c -o setup_t && \
-               ./setup_t -t ${MVMTARGET} > ./setup.sh && \
+               ${CC} setup/tool.c -o setup_t
+.for d in ${MODELS}
+       ${MKDIR} ${WRKSRC}/${d}
+       cd ${WRKSRC}/${d} && \
+               ${LN} -sf ../src . && \
+               ../setup_t -t ${MVMTARGET} -m ${d} > ./setup.sh && \
                ${SH} ./setup.sh
+.endfor
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/minivmac ${DESTDIR}${PREFIX}/bin
+.for d in ${MODELS}
+       echo $d
+       ${INSTALL_PROGRAM} ${WRKSRC}/${d}/minivmac \
+               ${DESTDIR}${PREFIX}/bin/minivmac-${d}
+.endfor
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${LN} -sf minivmac-Plus minivmac
 
 .include "../../mk/oss.buildlink3.mk"
 .include "../../x11/libX11/buildlink3.mk"

Index: pkgsrc/emulators/minivmac/PLIST
diff -u pkgsrc/emulators/minivmac/PLIST:1.6 pkgsrc/emulators/minivmac/PLIST:1.7
--- pkgsrc/emulators/minivmac/PLIST:1.6 Thu Oct 10 13:54:17 2019
+++ pkgsrc/emulators/minivmac/PLIST     Tue Aug 27 16:01:30 2024
@@ -1,2 +1,9 @@
-@comment $NetBSD: PLIST,v 1.6 2019/10/10 13:54:17 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.7 2024/08/27 16:01:30 ryoon Exp $
 bin/minivmac
+bin/minivmac-128K
+bin/minivmac-512Ke
+bin/minivmac-Classic
+bin/minivmac-II
+bin/minivmac-Plus
+bin/minivmac-SE
+bin/minivmac-SEFDHD



Home | Main Index | Thread Index | Old Index