Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2013 14:18:01 +0000 (UTC)
From:      Niclas Zeising <zeising@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335896 - head/x11-wm/spectrwm
Message-ID:  <201312081418.rB8EI1FU098014@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zeising
Date: Sun Dec  8 14:18:01 2013
New Revision: 335896
URL: http://svnweb.freebsd.org/changeset/ports/335896

Log:
  Update to 2.4.0
  
  Stagify.

Modified:
  head/x11-wm/spectrwm/Makefile
  head/x11-wm/spectrwm/distinfo
  head/x11-wm/spectrwm/pkg-plist

Modified: head/x11-wm/spectrwm/Makefile
==============================================================================
--- head/x11-wm/spectrwm/Makefile	Sun Dec  8 14:12:47 2013	(r335895)
+++ head/x11-wm/spectrwm/Makefile	Sun Dec  8 14:18:01 2013	(r335896)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	spectrwm
-PORTVERSION=	2.3.0
+PORTVERSION=	2.4.0
 CATEGORIES=	x11-wm
 MASTER_SITES=	https://opensource.conformal.com/snapshots/${PORTNAME}/
 EXTRACT_SUFX=	.tgz
@@ -19,7 +19,6 @@ RUN_DEPENDS+=	dmenu:${PORTSDIR}/x11/dmen
 
 USE_XORG=	x11 xcb xcursor xft xrandr xt
 
-MAN1=		spectrwm.1
 USE_LDCONFIG=	yes
 PORTEXAMPLES=	spectrwm_cz.conf \
 		spectrwm_es.conf \
@@ -28,7 +27,6 @@ PORTEXAMPLES=	spectrwm_cz.conf \
 		spectrwm_se.conf \
 		spectrwm_us.conf
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/spectrwm.*
 
@@ -43,19 +41,15 @@ do-build:
 		-o ${WRKSRC}/libswmhack.so ${WRKSRC}/lib/swm_hack.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${PREFIX}/bin
-	${INSTALL_LIB} ${WRKSRC}/libswmhack.so ${PREFIX}/lib
-	${INSTALL_MAN} ${WRKSRC}/spectrwm.1 ${MAN1PREFIX}/man/man1
-	${INSTALL_DATA} ${WRKSRC}/spectrwm.conf ${PREFIX}/etc/spectrwm.conf.sample
-	@if [ ! -f ${PREFIX}/etc/spectrwm.conf ]; then \
-		${INSTALL_DATA} ${PREFIX}/etc/spectrwm.conf.sample ${PREFIX}/etc/spectrwm.conf ; \
-	fi
-.if !defined(NOPORTEXAMPLES)
-	${MKDIR} ${EXAMPLESDIR}
-.for conf in ${PORTEXAMPLES}
-	${INSTALL_DATA} ${WRKSRC}/${conf} ${EXAMPLESDIR}
-.endfor
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_LIB} ${WRKSRC}/libswmhack.so ${STAGEDIR}${PREFIX}/lib
+	${INSTALL_MAN} ${WRKSRC}/spectrwm.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_DATA} ${WRKSRC}/spectrwm.conf ${STAGEDIR}${PREFIX}/etc/spectrwm.conf.sample
+	${INSTALL_DATA} ${WRKSRC}/spectrwm.conf ${STAGEDIR}${PREFIX}/etc/spectrwm.conf
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	.for conf in ${PORTEXAMPLES}
+		${INSTALL_DATA} ${WRKSRC}/${conf} ${STAGEDIR}${EXAMPLESDIR}
+	.endfor
 
 .include <bsd.port.mk>

Modified: head/x11-wm/spectrwm/distinfo
==============================================================================
--- head/x11-wm/spectrwm/distinfo	Sun Dec  8 14:12:47 2013	(r335895)
+++ head/x11-wm/spectrwm/distinfo	Sun Dec  8 14:18:01 2013	(r335896)
@@ -1,2 +1,2 @@
-SHA256 (spectrwm-2.3.0.tgz) = 9b8902ea167f8570accaed3e016ebc6b7c3b8177928d2e4d57f4b488ee97199f
-SIZE (spectrwm-2.3.0.tgz) = 109384
+SHA256 (spectrwm-2.4.0.tgz) = 5e530e3f69af1649e8b2d0734dce456ff95ce182196cc1e030c9760396b0d83e
+SIZE (spectrwm-2.4.0.tgz) = 112193

Modified: head/x11-wm/spectrwm/pkg-plist
==============================================================================
--- head/x11-wm/spectrwm/pkg-plist	Sun Dec  8 14:12:47 2013	(r335895)
+++ head/x11-wm/spectrwm/pkg-plist	Sun Dec  8 14:18:01 2013	(r335896)
@@ -1,6 +1,7 @@
 bin/spectrwm
 bin/screenshot.sh
 lib/libswmhack.so
+man/man1/spectrwm.1.gz
 @unexec if [ ! -f %D/etc/spectrwm.conf ] || cmp -s %D/etc/spectrwm.conf.sample %D/etc/spectrwm.conf; then rm -f %D/etc/spectrwm.conf; else echo %%PREFIX%%/etc/spectrwm.conf contains changes, remove it manually to delete this package completely.; fi
 etc/spectrwm.conf.sample
 @exec [ -f %D/etc/spectrwm.conf ] || cp -p %D/%F %D/etc/spectrwm.conf



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312081418.rB8EI1FU098014>