diff options
author | Brendan Fabeny <bf@FreeBSD.org> | 2014-07-07 17:46:04 +0000 |
---|---|---|
committer | Brendan Fabeny <bf@FreeBSD.org> | 2014-07-07 17:46:04 +0000 |
commit | 473bd5f8b7960a23dceca4456ea0f5c5b2ffae2e (patch) | |
tree | c7635bac9483b66b4b42c6ada0d257ac7eeca5e7 /graphics/pgplot | |
parent | 224b11ae3b514e8e1cd7cae9fbc80939ad744d2e (diff) | |
download | ports-473bd5f8b7960a23dceca4456ea0f5c5b2ffae2e.tar.gz ports-473bd5f8b7960a23dceca4456ea0f5c5b2ffae2e.zip |
Notes
Diffstat (limited to 'graphics/pgplot')
-rw-r--r-- | graphics/pgplot/Makefile | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/graphics/pgplot/Makefile b/graphics/pgplot/Makefile index 35752f9288cf..79d36f693ad9 100644 --- a/graphics/pgplot/Makefile +++ b/graphics/pgplot/Makefile @@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION:R} MAINTAINER= bf@FreeBSD.org COMMENT= C/FORTRAN library for drawing graphs on a variety of display devices -LIB_DEPENDS= png15:${PORTSDIR}/graphics/png +LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png MAKE_JOBS_UNSAFE= yes @@ -24,8 +24,6 @@ SHEBANG_FILES= makehtml maketex SUFFIXES= flib clib bin WRKSRC= ${WRKDIR}/${PORTNAME} -NO_STAGE= yes - OPTIONS_DEFINE= DOCS EXAMPLES .include <bsd.port.options.mk> @@ -34,9 +32,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES EXTRA_PATCHES += ${FILESDIR}/drivers_64bit_patch .endif -.ifndef(NOPORTDATA) PORTDATA= grfont.dat -.endif .if ${PORT_OPTIONS:MDOCS} DOCS= cpg/cpgplot.doc pgplot-routines.tex pgplot.doc pgplot.html \ @@ -68,24 +64,22 @@ do-build: do-install: @cd ${WRKSRC}; \ - ${INSTALL_PROGRAM} pgxwin_server pgdisp ${PREFIX}/bin; \ - ${INSTALL_LIB} *.a *.so.5* ${PREFIX}/lib; \ - ${INSTALL_DATA} cpgplot.h ${PREFIX}/include + ${INSTALL_PROGRAM} pgxwin_server pgdisp ${STAGEDIR}${PREFIX}/bin; \ + ${INSTALL_LIB} *.a *.so.5* ${STAGEDIR}${PREFIX}/lib; \ + ${INSTALL_DATA} cpgplot.h ${STAGEDIR}${PREFIX}/include .for f in libcpgplot.so libpgplot.so - @${LN} -sf ${f}.5 ${PREFIX}/lib/${f} + @${LN} -sf ${f}.5 ${STAGEDIR}${PREFIX}/lib/${f} .endfor -.ifndef(NOPORTDATA) - @${MKDIR} ${DATADIR} - @cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDATA} ${DATADIR} -.endif + @${MKDIR} ${STAGEDIR}${DATADIR} + @cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDATA} ${STAGEDIR}${DATADIR} .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}; ${CP} pgdispd/aaaread.me readme.pgdisp; \ - ${INSTALL_DATA} ${DOCS} ${DOCSDIR} + ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - @cd ${WRKSRC}; ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @cd ${WRKSRC}; ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR} .endif .if defined(MAINTAINER_MODE) && !defined(BATCH) |