ports/149397: [patch] x11-wm/stumpwm: install stumpish and other contrib
Anonymous
swell.k at gmail.com
Sat Aug 7 13:40:13 UTC 2010
The following reply was made to PR ports/149397; it has been noted by GNATS.
From: Anonymous <swell.k at gmail.com>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/149397: [patch] x11-wm/stumpwm: install stumpish and other contrib
Date: Sat, 07 Aug 2010 17:32:32 +0400
Oops, forgot about example for ~/.stumpwmrc.
--- b.diff begins here ---
diff --git x11-wm/stumpwm/Makefile x11-wm/stumpwm/Makefile
index 7fe334c..7a929a1 100644
--- x11-wm/stumpwm/Makefile
+++ x11-wm/stumpwm/Makefile
@@ -20,6 +20,7 @@ MAKE_JOBS_UNSAFE=yes
PLIST_FILES= bin/stumpish \
bin/${PORTNAME}
INFO= ${PORTNAME}
+PORTEXAMPLES= sample-stumpwmrc.lisp
PORTDATA= *
OPTIONS= SBCL "Build with lang/sbcl (otherwise with lang/clisp)" on
@@ -64,6 +65,10 @@ post-patch: .SILENT
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/contrib/stumpish ${PREFIX}/bin
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${EXAMPLESDIR}
+.endif
.if !defined(NOPORTDATA)
${MKDIR} ${DATADIR}
${TAR} cf - -C${WRKSRC}/contrib --exclude stumpish\* . \
--- b.diff ends here ---
More information about the freebsd-ports-bugs
mailing list