Date: Tue, 12 Sep 2017 19:04:34 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r449703 - in head/graphics: xpdf xpdf4 Message-ID: <201709121904.v8CJ4Ylv074168@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Tue Sep 12 19:04:33 2017 New Revision: 449703 URL: https://svnweb.freebsd.org/changeset/ports/449703 Log: Fixup issue with symlink outide of stagedir. Reported by: qa-script Modified: head/graphics/xpdf/Makefile head/graphics/xpdf4/Makefile Modified: head/graphics/xpdf/Makefile ============================================================================== --- head/graphics/xpdf/Makefile Tue Sep 12 19:01:10 2017 (r449702) +++ head/graphics/xpdf/Makefile Tue Sep 12 19:04:33 2017 (r449703) @@ -2,7 +2,7 @@ PORTNAME= xpdf PORTVERSION= 3.04 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics print MASTER_SITES= http://mirrors.rit.edu/zi/ \ ftp://ftp.foolabs.com/pub/xpdf/ \ @@ -59,7 +59,8 @@ post-install: .for file in ANNOUNCE CHANGES README misc/hello.pdf ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor - ${LN} -sf ${PREFIX}/libexec/xpdf/xpdf ${STAGEDIR}${PREFIX}/bin/xpdf + @cd ${STAGEDIR}${PREFIX}; \ + ${LN} -sf libexec/xpdf/xpdf bin/xpdf ${INSTALL_DATA} ${WRKDIR}/xpdf-man.conf \ ${STAGEDIR}${PREFIX}/etc/man.d/xpdf.conf Modified: head/graphics/xpdf4/Makefile ============================================================================== --- head/graphics/xpdf4/Makefile Tue Sep 12 19:01:10 2017 (r449702) +++ head/graphics/xpdf4/Makefile Tue Sep 12 19:04:33 2017 (r449703) @@ -2,6 +2,7 @@ PORTNAME= xpdf PORTVERSION= 4.00 +PORTREVISION= 1 CATEGORIES= graphics print MASTER_SITES= http://www.xpdfreader.com/dl/ PKGNAMESUFFIX= 4 @@ -41,7 +42,9 @@ GUI_CMAKE_ARGS+= -DNO_TEXT_SELECT:BOOL=OFF GUI_USE= QT5=buildtools_build,qmake_build,concurrent,core,gui,widgets,printsupport post-install: - ${LN} -sf ${PREFIX}/libexec/xpdf/xpdf ${STAGEDIR}${PREFIX}/bin/xpdf + @cd ${STAGEDIR}${PREFIX}; \ + ${LN} -sf libexec/xpdf/xpdf bin/xpdf + ${INSTALL_DATA} ${WRKSRC}/doc/sample-xpdfrc ${STAGEDIR}${PREFIX}/etc/xpdfrc.sample ${INSTALL_DATA} ${WRKDIR}/xpdf-man.conf \ ${STAGEDIR}${PREFIX}/etc/man.d/xpdf.conf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709121904.v8CJ4Ylv074168>