svn commit: r333245 - head/deskutils/rox-memo

Jimmy Olgeni olgeni at FreeBSD.org
Fri Nov 8 16:23:43 UTC 2013


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>


More information about the svn-ports-head mailing list