aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-12-23 18:22:22 +0800
committerkrion <krion@FreeBSD.org>2004-12-23 18:22:22 +0800
commit6d93b99d71f6b53f0ff3bb8a62a5e640b24c4e19 (patch)
treed3b36accdf870b3188542535c5fd4ea77cbbd5fe /x11-wm
parent66decc14f2817e7a88e3f518b9ac843c281da7fe (diff)
downloadfreebsd-ports-graphics-6d93b99d71f6b53f0ff3bb8a62a5e640b24c4e19.tar.gz
freebsd-ports-graphics-6d93b99d71f6b53f0ff3bb8a62a5e640b24c4e19.tar.zst
freebsd-ports-graphics-6d93b99d71f6b53f0ff3bb8a62a5e640b24c4e19.zip
Add knob to switch default image for starup button to BSD daemon's
picture. PR: ports/75402 Submitted by: Ports Fury
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/icewm/Makefile13
-rw-r--r--x11-wm/icewm/pkg-plist1
2 files changed, 13 insertions, 1 deletions
diff --git a/x11-wm/icewm/Makefile b/x11-wm/icewm/Makefile
index 8a8db7c9d93..b8ad8291ded 100644
--- a/x11-wm/icewm/Makefile
+++ b/x11-wm/icewm/Makefile
@@ -7,6 +7,7 @@
PORTNAME= icewm
PORTVERSION= 1.2.18
+PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -72,6 +73,12 @@ CONFIGURE_ARGS+= --disable-xinerama
CONFIGURE_ARGS+= --disable-x86-asm
.endif
+.if defined(WITH_BEASTIE_STARTUP_PIXMAP)
+STARTUP_PIXMAP= bsd-daemon.xpm
+.else
+STARTUP_PIXMAP= icewm-logo.xpm
+.endif
+
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
@@ -80,6 +87,10 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
+post-extract:
+ @cd ${WRKSRC}/lib/taskbar && ${MV} icewm.xpm icewm-logo.xpm
+ @${CP} -f ${FILESDIR}/bsd-daemon.xpm ${WRKSRC}/lib/taskbar
+
post-patch:
@${REINPLACE_CMD} -e \
's|CXX_LINK=$${CC}|CXX_LINK=$${CXX}|g' ${WRKSRC}/configure
@@ -91,7 +102,7 @@ post-patch:
.endfor
post-install:
- ${INSTALL_DATA} ${FILESDIR}/bsd-daemon.xpm ${DATADIR}/taskbar
+ @${LN} -sf ${STARTUP_PIXMAP} ${DATADIR}/taskbar/icewm.xpm
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in CHANGES INSTALL README TODO
diff --git a/x11-wm/icewm/pkg-plist b/x11-wm/icewm/pkg-plist
index 39cbc7f933f..4384b77b2f7 100644
--- a/x11-wm/icewm/pkg-plist
+++ b/x11-wm/icewm/pkg-plist
@@ -111,6 +111,7 @@ bin/icewmtray
%%DATADIR%%/taskbar/debian.xpm
%%DATADIR%%/taskbar/desktop.xpm
%%DATADIR%%/taskbar/icewm.xpm
+%%DATADIR%%/taskbar/icewm-logo.xpm
%%DATADIR%%/taskbar/linux.xpm
%%DATADIR%%/taskbar/linux1.xpm
%%DATADIR%%/taskbar/linux2.xpm