mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
Add dwm.desktop for display managers like xdm or SLiM.
This commit is contained in:
parent
21d61aed7f
commit
9bcedf6985
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=502192
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= dwm
|
||||
DISTVERSION= 6.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-wm
|
||||
MASTER_SITES= http://dl.suckless.org/${PORTNAME}/
|
||||
|
||||
@ -27,8 +28,11 @@ MAKE_ARGS= CC="${CC}" \
|
||||
X11INC="${LOCALBASE}/include" \
|
||||
X11LIB="${LOCALBASE}/lib"
|
||||
|
||||
SUB_FILES= dwm.desktop
|
||||
SUB_LIST= COMMENT="${COMMENT}"
|
||||
PLIST_FILES= bin/dwm \
|
||||
man/man1/dwm.1.gz
|
||||
man/man1/dwm.1.gz \
|
||||
share/xsessions/dwm.desktop
|
||||
PORTDOCS= README
|
||||
|
||||
OPTIONS_DEFINE= DMENUANDSTERM DOCS SUPERASMODKEY VOLUMECONTROL XINERAMA
|
||||
@ -67,6 +71,8 @@ post-configure:
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dwm
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/xsessions
|
||||
${INSTALL_DATA} ${WRKDIR}/dwm.desktop ${STAGEDIR}${PREFIX}/share/xsessions
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
|
7
x11-wm/dwm/files/dwm.desktop.in
Normal file
7
x11-wm/dwm/files/dwm.desktop.in
Normal file
@ -0,0 +1,7 @@
|
||||
# $FreeBSD$
|
||||
[Desktop Entry]
|
||||
Name=dwm
|
||||
Comment=%%COMMENT%%
|
||||
TryExec=dwm
|
||||
Exec=dwm
|
||||
Type=Application
|
Loading…
Reference in New Issue
Block a user