From owner-svn-ports-all@freebsd.org Sun Jun 17 09:16:56 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 982D11016E14; Sun, 17 Jun 2018 09:16:56 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 382E58686B; Sun, 17 Jun 2018 09:16:56 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 13BC713628; Sun, 17 Jun 2018 09:16:56 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5H9Gt2F072999; Sun, 17 Jun 2018 09:16:55 GMT (envelope-from zeising@FreeBSD.org) Received: (from zeising@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5H9GtB0072998; Sun, 17 Jun 2018 09:16:55 GMT (envelope-from zeising@FreeBSD.org) Message-Id: <201806170916.w5H9GtB0072998@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zeising set sender to zeising@FreeBSD.org using -f From: Niclas Zeising Date: Sun, 17 Jun 2018 09:16:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472599 - head/x11/xscreensaver X-SVN-Group: ports-head X-SVN-Commit-Author: zeising X-SVN-Commit-Paths: head/x11/xscreensaver X-SVN-Commit-Revision: 472599 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jun 2018 09:16:56 -0000 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