Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Feb 2014 18:15:29 +0100
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r341561 - head/math/gnuplot
Message-ID:  <20140204181529.34e0a7a0@kalimero.tijl.coosemans.org>
In-Reply-To: <201401281339.s0SDd10q091012@svn.freebsd.org>
References:  <201401281339.s0SDd10q091012@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Jan 2014 13:39:01 +0000 (UTC) Baptiste Daroussin wrote:
> Author: bapt
> Date: Tue Jan 28 13:39:01 2014
> New Revision: 341561
> URL: http://svnweb.freebsd.org/changeset/ports/341561
> QAT: https://qat.redports.org/buildarchive/r341561/
> 
> Log:
>   Support stage
>   Use options helpers
>   Modernize lib_depends
> 
> Modified:
>   head/math/gnuplot/Makefile
>   head/math/gnuplot/pkg-plist
> 
> Modified: head/math/gnuplot/Makefile
> ==============================================================================
> --- head/math/gnuplot/Makefile	Tue Jan 28 13:37:53 2014	(r341560)
> +++ head/math/gnuplot/Makefile	Tue Jan 28 13:39:01 2014	(r341561)
> @@ -118,19 +83,13 @@ post-build:
>  .endif
>  
>  post-install:
> -	${INSTALL_SCRIPT} ${WRKSRC}/src/lasergnu ${PREFIX}/bin
> -.if !defined(NOPORTEXAMPLES)
> -	@${MKDIR} ${EXAMPLESDIR}
> -	cd ${WRKSRC}/demo && ${FIND} . \
> -		| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
> -.endif
> -
> -.if ${PORT_OPTIONS:MDOCS}

Removing this .if breaks the installation with DOCS disabled because
the files don't exist in that case.

> -	@${MKDIR} ${DOCSDIR}/psdoc
> +	${INSTALL_SCRIPT} ${WRKSRC}/src/lasergnu ${STAGEDIR}${PREFIX}/bin
> +	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
> +	cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
> +	@${MKDIR} ${STAGEDIR}${DOCSDIR}/psdoc
>  	cd ${WRKSRC}/docs && ${INSTALL_DATA} gnuplot.txt gnuplot.dvi \
> -		gnuplot.ps ${DOCSDIR}
> -	cd ${WRKSRC}/docs/psdoc && ${INSTALL_DATA} README ps_* ${DOCSDIR}/psdoc
> -.endif
> +		gnuplot.ps ${STAGEDIR}${DOCSDIR}
> +	cd ${WRKSRC}/docs/psdoc && ${INSTALL_DATA} README ps_* ${STAGEDIR}${DOCSDIR}/psdoc



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