mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
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 <alex@xanderio.de>
This commit is contained in:
parent
971e90dc09
commit
d6bf27d900
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=502236
@ -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 <bsd.port.pre.mk>
|
||||
|
||||
.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 <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
7
x11-wm/hikari/files/hikari.desktop.in
Normal file
7
x11-wm/hikari/files/hikari.desktop.in
Normal file
@ -0,0 +1,7 @@
|
||||
# $FreeBSD$
|
||||
[Desktop Entry]
|
||||
Name=hikari
|
||||
Comment=%%COMMENT%%
|
||||
TryExec=hikari
|
||||
Exec=hikari
|
||||
Type=Application
|
Loading…
Reference in New Issue
Block a user