Date: Sun, 17 Jun 2018 09:16:55 +0000 (UTC) From: Niclas Zeising <zeising@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472599 - head/x11/xscreensaver Message-ID: <201806170916.w5H9GtB0072998@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: zeising Date: Sun Jun 17 09:16:55 2018 New Revision: 472599 URL: https://svnweb.freebsd.org/changeset/ports/472599 Log: x11/xscreensaver: Add NSFW option Add NSFW option that, when enabled, enables some NSFW wording in the BSOD screensaver, in the ransomware picture. Submitted by: jonathan Differential Revision: https://reviews.freebsd.org/D15762 Modified: head/x11/xscreensaver/Makefile Modified: head/x11/xscreensaver/Makefile ============================================================================== --- head/x11/xscreensaver/Makefile Sun Jun 17 09:12:50 2018 (r472598) +++ head/x11/xscreensaver/Makefile Sun Jun 17 09:16:55 2018 (r472599) @@ -3,6 +3,7 @@ PORTNAME= xscreensaver PORTVERSION= 5.39 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://www.jwz.org/xscreensaver/ @@ -39,7 +40,7 @@ CONFIGURE_ARGS= --with-gtk --with-gl --with-gle --with --without-setuid-hacks --enable-locking MAKE_ARGS+= install_prefix=${STAGEDIR} -OPTIONS_DEFINE= PAM SETUID_HACKS FIREF NLS XAOS1 XDALI XEARTH \ +OPTIONS_DEFINE= PAM SETUID_HACKS FIREF NLS NSFW XAOS1 XDALI XEARTH \ XFT XMOUN XPLANET XSNOW OPTIONS_DEFAULT=XFT OPTIONS_SUB= yes @@ -54,6 +55,8 @@ FIREF_RUN_DEPENDS= ${LOCALBASE}/bin/xscreensaver-hack NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls +NSFW_DESC= Include material that is Not Safe For Work + XAOS1_DESC= Add extra port graphics/xaos XAOS1_RUN_DEPENDS= xaos:graphics/xaos @@ -79,6 +82,10 @@ SUB_FILES= xscreensaver-blank.desktop xscreensaver-loc xscreensaver-start.desktop xscreensaver-stop.desktop post-patch: +.if empty(PORT_OPTIONS:NSFW) + ${REINPLACE_CMD} -e 's|Dick Pix|Stuff|' ${WRKSRC}/hacks/bsod.c + ${REINPLACE_CMD} -e 's|dick pics|data, etc.|' ${WRKSRC}/hacks/bsod.c +.endif ${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ -e 's|pkg_config --list-all|pkg_config --help|' \ ${WRKSRC}/configure.in
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806170916.w5H9GtB0072998>