summaryrefslogtreecommitdiff
path: root/x11-wm/icewm
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-12-23 10:22:22 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-12-23 10:22:22 +0000
commitded7a5ce74634d6c83a8ad7a499b9f0f86ffac42 (patch)
treef2620c9647e098bcd3e195160cb078356d5eca71 /x11-wm/icewm
parentFix pkg-plist. This problem is heinousness, so I bump PORTREVISION. (diff)
Add knob to switch default image for starup button to BSD daemon's
picture. PR: ports/75402 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=124959
Diffstat (limited to 'x11-wm/icewm')
-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 8a8db7c9d932..b8ad8291ded8 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 39cbc7f933f2..4384b77b2f7c 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