From owner-svn-ports-head@freebsd.org Tue May 21 21:24:03 2019 Return-Path: Delivered-To: svn-ports-head@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 B8217158FC96; Tue, 21 May 2019 21:24:03 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 60E3E81702; Tue, 21 May 2019 21:24:03 +0000 (UTC) (envelope-from 0mp@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 3B304B6F3; Tue, 21 May 2019 21:24:03 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4LLO3w8041912; Tue, 21 May 2019 21:24:03 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4LLO2CL041911; Tue, 21 May 2019 21:24:02 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <201905212124.x4LLO2CL041911@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Tue, 21 May 2019 21:24:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502236 - in head/x11-wm/hikari: . files X-SVN-Group: ports-head X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: in head/x11-wm/hikari: . files X-SVN-Commit-Revision: 502236 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 60E3E81702 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2019 21:24:04 -0000 Author: 0mp Date: Tue May 21 21:24:02 2019 New Revision: 502236 URL: https://svnweb.freebsd.org/changeset/ports/502236 Log: Add hikari.desktop for display/login managers. While here: - Include bsd.port.pre.mk before checking the value of WITH_DEBUG so that WITH_DEBUG_PORTS is respected. - Mention that the format of config.h may change across versions. PR: 238019 Submitted by: Alexander Sieg Added: head/x11-wm/hikari/files/ head/x11-wm/hikari/files/hikari.desktop.in (contents, props changed) Modified: head/x11-wm/hikari/Makefile Modified: head/x11-wm/hikari/Makefile ============================================================================== --- head/x11-wm/hikari/Makefile Tue May 21 21:02:30 2019 (r502235) +++ head/x11-wm/hikari/Makefile Tue May 21 21:24:02 2019 (r502236) @@ -2,6 +2,7 @@ PORTNAME= hikari DISTVERSION= 0.1.2 +PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= https://acmelabs.space/~raichoo/ @@ -20,11 +21,16 @@ USE_XORG= xcb x11 NO_WRKSUBDIR= yes +SUB_FILES= hikari.desktop +SUB_LIST= COMMENT="${COMMENT}" PLIST_FILES= bin/hikari \ - man/man1/hikari.1.gz + man/man1/hikari.1.gz \ + share/xsessions/hikari.desktop PORTDATA= config.def.h PORTDOCS= README.md +.include + .if defined(WITH_DEBUG) ALL_TARGET= debug .else @@ -36,6 +42,7 @@ OPTIONS_DEFINE= DOCS pre-everything:: @${ECHO_MSG} "You can build hikari with your own config.h using the HIKARI_CONF knob:" @${ECHO_MSG} "make HIKARI_CONF=/path/to/hikari/config.h install clean" + @${ECHO_MSG} "Note: Pre-${PORTVERSION} config.h files may not work." post-patch: .if defined(HIKARI_CONF) @@ -50,9 +57,11 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/hikari.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDATA} ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/share/xsessions + ${INSTALL_DATA} ${WRKDIR}/hikari.desktop ${STAGEDIR}${PREFIX}/share/xsessions post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.include +.include Added: head/x11-wm/hikari/files/hikari.desktop.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-wm/hikari/files/hikari.desktop.in Tue May 21 21:24:02 2019 (r502236) @@ -0,0 +1,7 @@ +# $FreeBSD$ +[Desktop Entry] +Name=hikari +Comment=%%COMMENT%% +TryExec=hikari +Exec=hikari +Type=Application