Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173535090
D59989.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D59989.diff
View Options
Index: x11/bosd/Makefile
===================================================================
--- x11/bosd/Makefile
+++ x11/bosd/Makefile
@@ -1,5 +1,6 @@
PORTNAME= bosd
DISTVERSION= 10.4
+PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= dteske@FreeBSD.org
@@ -11,7 +12,7 @@
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libpng16.so:graphics/png
-USES= localbase:ldflags pkgconfig python:build,run shebangfix xorg
+USES= localbase:ldflags pkgconfig shebangfix xorg
USE_GITHUB= yes
GH_ACCOUNT= FrauBSD
USE_LDCONFIG= yes
@@ -25,10 +26,13 @@
PYTHON="${PYTHON_CMD}"
ALL_TARGET= all example
-OPTIONS_DEFINE= TESTS
+OPTIONS_DEFINE= EXAMPLES TESTS
OPTIONS_DEFAULT= TESTS
OPTIONS_SUB= yes
+TESTS_DESC= Install the test suite
+EXAMPLES_USES= python:build,run
+EXAMPLES_USES_OFF= python:build
TESTS_MAKE_ARGS= INSTALL_TESTS=yes
TESTS_MAKE_ARGS_OFF= INSTALL_TESTS=no
@@ -38,4 +42,8 @@
${INSTALL_DATA} ${WRKSRC}/CHANGELOG.md ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.png ${STAGEDIR}${DATADIR}
+# Upstream install always copies the example scripts.
+post-install-EXAMPLES-off:
+ ${RM} -r ${STAGEDIR}${EXAMPLESDIR}
+
.include <bsd.port.mk>
Index: x11/bosd/pkg-plist
===================================================================
--- x11/bosd/pkg-plist
+++ x11/bosd/pkg-plist
@@ -21,14 +21,14 @@
share/bosd/tile-on.png
share/doc/bosd/CHANGELOG.md
share/doc/bosd/README.md
-share/examples/bosd/airplane.py
-share/examples/bosd/audio.py
-share/examples/bosd/auto-rotate.py
-share/examples/bosd/bsd.py
-share/examples/bosd/glyph.py
-share/examples/bosd/lid.py
-share/examples/bosd/mirror.py
-share/examples/bosd/tile.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/airplane.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/audio.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/auto-rotate.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bsd.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/glyph.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lid.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mirror.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tile.py
share/man/man1/bosd.1.gz
share/man/man3/bosd.3.gz
%%TESTS%%share/bosd/tests/run
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Sep 27, 4:31 PM (1 h, 12 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39746013
Default Alt Text
D59989.diff (2 KB)
Attached To
Mode
D59989: x11/bosd: Add EXAMPLES option
Attached
Detach File
Event Timeline
Log In to Comment