git: fbe08ce2ea3b - main - emulators/bobbin: Add forgotten option for EXAMPLES

From: Älven <alven_at_FreeBSD.org>
Date: Sat, 14 Nov 2026 13:29:58 UTC
The branch main has been updated by alven:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fbe08ce2ea3b260d0ac686dc88994d4f7780a602

commit fbe08ce2ea3b260d0ac686dc88994d4f7780a602
Author:     Älven <alven@FreeBSD.org>
AuthorDate: 2026-11-14 13:27:20 +0000
Commit:     Älven <alven@FreeBSD.org>
CommitDate: 2026-11-14 13:28:50 +0000

    emulators/bobbin: Add forgotten option for EXAMPLES
    
    * Also fix examplesdir.
    
    PR:    300766
---
 emulators/bobbin/Makefile  |  8 +++++---
 emulators/bobbin/pkg-plist | 16 ++++++++--------
 2 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/emulators/bobbin/Makefile b/emulators/bobbin/Makefile
index 5a4c9ba65b3c..476d551fb495 100644
--- a/emulators/bobbin/Makefile
+++ b/emulators/bobbin/Makefile
@@ -2,7 +2,7 @@ PORTNAME=	bobbin
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.4.2.20250917
 CATEGORIES=	emulators
-PORTREVISION=	1
+PORTREVISION=	2
 
 MAINTAINER=	alexey@pentode.fi
 COMMENT=	Terminal-driven Apple II-series emulator
@@ -21,12 +21,14 @@ GNU_CONFIGURE=	yes
 # Apple ROM and disk images are shipped in the distribution tarball, but
 # they are copyrighted and not redistributable, so they are never installed
 # by the package.
-MAKE_ARGS+=	dist_rom_DATA="" dist_cardrom_DATA="" dist_disk_DATA=""
+MAKE_ARGS+=	dist_rom_DATA="" dist_cardrom_DATA="" dist_disk_DATA="" \
+		examplesdir=${EXAMPLESDIR}
 
 SUB_FILES=	pkg-message
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 DOCS_MAKE_ARGS_OFF=	dist_doc_DATA=""
+EXAMPLES_MAKE_ARGS_OFF=	dist_examples_DATA=""
 
 .include <bsd.port.mk>
diff --git a/emulators/bobbin/pkg-plist b/emulators/bobbin/pkg-plist
index 62dcdf05edf2..49b26c2f6541 100644
--- a/emulators/bobbin/pkg-plist
+++ b/emulators/bobbin/pkg-plist
@@ -1,12 +1,12 @@
 bin/bobbin
-%%DATADIR%%/examples/all-chars.bas
-%%DATADIR%%/examples/amazing-run.bas
-%%DATADIR%%/examples/amazing.bas
-%%DATADIR%%/examples/count.bas
-%%DATADIR%%/examples/hello.int
-%%DATADIR%%/examples/reverse
-%%DATADIR%%/examples/ribbon.bas
-%%DATADIR%%/examples/test.int
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE
 %%PORTDOCS%%%%DOCSDIR%%/README.md
 %%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/all-chars.bas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/amazing-run.bas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/amazing.bas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/count.bas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hello.int
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/reverse
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ribbon.bas
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.int