svn commit: r331536 - head/sysutils/wmcube-gdk

Renato Botelho garga at FreeBSD.org
Thu Oct 24 23:07:30 UTC 2013


Author: garga
Date: Thu Oct 24 23:07:29 2013
New Revision: 331536
URL: http://svnweb.freebsd.org/changeset/ports/331536

Log:
  Support staging

Modified:
  head/sysutils/wmcube-gdk/Makefile

Modified: head/sysutils/wmcube-gdk/Makefile
==============================================================================
--- head/sysutils/wmcube-gdk/Makefile	Thu Oct 24 23:06:41 2013	(r331535)
+++ head/sysutils/wmcube-gdk/Makefile	Thu Oct 24 23:07:29 2013	(r331536)
@@ -18,29 +18,26 @@ USE_XORG=	xpm
 USE_GNOME=	gtk12
 MAKEFILE=	Makefile.FREEBSD
 SUB_FILES=	pkg-message
+NEED_ROOT=	yes
 
 DATADIR=	${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
 PORTDOCS=	CHANGES README README.GDK TODO
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 do-install:
-	@${INSTALL_PROGRAM} -m 2755 -o root -g kmem ${WRKSRC}/wmcube \
-		${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
-
-post-install:
+	${INSTALL_PROGRAM} -m 2755 -o root -g kmem ${WRKSRC}/wmcube \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
 .for files in *.wmc
-	@${MKDIR} ${DATADIR}
-	@${INSTALL_DATA} ${WRKSRC}/3dObjects/${files} ${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/3dObjects/${files} ${STAGEDIR}${DATADIR}
 .endfor
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 . for doc in ${PORTDOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
 . endfor
 .endif
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>


More information about the svn-ports-head mailing list