Date: Thu, 24 Oct 2013 23:07:30 +0000 (UTC) From: Renato Botelho <garga@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331536 - head/sysutils/wmcube-gdk Message-ID: <201310242307.r9ON7U7K077529@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310242307.r9ON7U7K077529>