Date: Thu, 12 Jun 2014 22:44:25 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r357639 - head/misc/gkx86info2 Message-ID: <201406122244.s5CMiPTo006185@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Thu Jun 12 22:44:25 2014 New Revision: 357639 URL: http://svnweb.freebsd.org/changeset/ports/357639 QAT: https://qat.redports.org/buildarchive/r357639/ Log: Add staging support Modified: head/misc/gkx86info2/Makefile Modified: head/misc/gkx86info2/Makefile ============================================================================== --- head/misc/gkx86info2/Makefile Thu Jun 12 22:42:39 2014 (r357638) +++ head/misc/gkx86info2/Makefile Thu Jun 12 22:44:25 2014 (r357639) @@ -19,13 +19,10 @@ USES= pkgconfig USE_GNOME= gtk20 WRKSRC= ${WRKDIR}/gkx86info${PORTVERSION} - -NO_STAGE= yes +PLUGINDIR= ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - do-build: @cd ${WRKSRC} && eval ${CC} ${CFLAGS} -fPIC -o MHz.o -c MHz.c @cd ${WRKSRC} && eval ${CC} ${CFLAGS} -fPIC \ @@ -34,13 +31,9 @@ do-build: -o ${PORTNAME}.so MHz.o gkx86info.o do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.so \ - ${PREFIX}/libexec/gkrellm2/plugins/ - -post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} -.endif + @${MKDIR} ${PLUGINDIR} + ${INSTALL_LIB} ${WRKSRC}/${PORTNAME}.so ${PLUGINDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406122244.s5CMiPTo006185>