Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 2013 16:23:43 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333245 - head/deskutils/rox-memo
Message-ID:  <201311081623.rA8GNhBH055984@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Fri Nov  8 16:23:42 2013
New Revision: 333245
URL: http://svnweb.freebsd.org/changeset/ports/333245

Log:
  - Add staging support.
  - Do not mute install commands.
  - Use ${FIND} -delete.

Modified:
  head/deskutils/rox-memo/Makefile

Modified: head/deskutils/rox-memo/Makefile
==============================================================================
--- head/deskutils/rox-memo/Makefile	Fri Nov  8 16:19:49 2013	(r333244)
+++ head/deskutils/rox-memo/Makefile	Fri Nov  8 16:23:42 2013	(r333245)
@@ -16,7 +16,6 @@ RUN_DEPENDS=	${LOCALBASE}/bin/rox:${PORT
 USE_BZIP2=	yes
 USE_PYTHON=	yes
 
-NO_STAGE=	yes
 do-build:
 	@${PYTHON_CMD} -m compileall ${WRKSRC}
 	@${PYTHON_CMD} -O -m compileall ${WRKSRC}
@@ -24,11 +23,10 @@ do-build:
 pre-install:
 	@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
 				${WRKSRC}/Memo/findrox.py
-	@${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM}
+	@${FIND} ${WRKSRC} -name *.bak -delete
 
 do-install:
-	@${MKDIR} ${PREFIX}/apps
-	@${CP} -r ${WRKSRC}/Memo ${PREFIX}/apps/
-	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/apps/Memo
+	@${MKDIR} ${STAGEDIR}${PREFIX}/apps
+	${CP} -r ${WRKSRC}/Memo ${STAGEDIR}${PREFIX}/apps/
 
 .include <bsd.port.mk>



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