svn commit: r357176 - in head/x11-clocks: asclock-gtk asclock-xlib

Jun Kuriyama kuriyama at FreeBSD.org
Mon Jun 9 15:41:13 UTC 2014


Author: kuriyama
Date: Mon Jun  9 15:41:12 2014
New Revision: 357176
URL: http://svnweb.freebsd.org/changeset/ports/357176
QAT: https://qat.redports.org/buildarchive/r357176/

Log:
  - Stagify.

Modified:
  head/x11-clocks/asclock-gtk/Makefile
  head/x11-clocks/asclock-xlib/Makefile

Modified: head/x11-clocks/asclock-gtk/Makefile
==============================================================================
--- head/x11-clocks/asclock-gtk/Makefile	Mon Jun  9 15:40:50 2014	(r357175)
+++ head/x11-clocks/asclock-gtk/Makefile	Mon Jun  9 15:41:12 2014	(r357176)
@@ -13,12 +13,12 @@ COMMENT=	New flavor of asclock (GTK vers
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 ALL_TARGET=	asclock
+MAKE_ARGS=	PREFIX=${STAGEDIR}${PREFIX}
 
 USE_XORG=	x11 xt
 USE_GNOME=	gtk12
 HAS_CONFIGURE=	yes
 
-NO_STAGE=	yes
 post-patch:
 	${FIND} ${WRKSRC} -name '*.orig' | ${XARGS} ${RM}
 
@@ -30,6 +30,6 @@ do-configure:
 .endif
 
 post-install:
-	@${STRIP_CMD} ${PREFIX}/bin/asclock
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/asclock
 
 .include <bsd.port.mk>

Modified: head/x11-clocks/asclock-xlib/Makefile
==============================================================================
--- head/x11-clocks/asclock-xlib/Makefile	Mon Jun  9 15:40:50 2014	(r357175)
+++ head/x11-clocks/asclock-xlib/Makefile	Mon Jun  9 15:41:12 2014	(r357176)
@@ -21,7 +21,6 @@ IS_INTERACTIVE=	YES
 HAS_CONFIGURE=	YES
 .endif
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 post-patch:
@@ -39,9 +38,8 @@ pre-configure:
 post-install:
 .for i in Freeamp Newstone Orb Stone beats classic penguin shaped
 	(cd ${WRKSRC}/themes/${i}; \
-	  ${MKDIR} ${PREFIX}/share/asclock/${i}; \
-	  ${INSTALL_DATA} *.xpm config ${PREFIX}/share/asclock/${i}/ )
+	  ${MKDIR} ${STAGEDIR}${PREFIX}/share/asclock/${i}; \
+	  ${INSTALL_DATA} *.xpm config ${STAGEDIR}${PREFIX}/share/asclock/${i}/ )
 .endfor
-	cd ${WRKSRC} && ${MAKE} install.man
 
 .include <bsd.port.post.mk>


More information about the svn-ports-head mailing list