Date: Thu, 19 Sep 2013 10:12:50 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327610 - head/graphics/separate Message-ID: <201309191012.r8JACoQx077490@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gahr Date: Thu Sep 19 10:12:50 2013 New Revision: 327610 URL: http://svnweb.freebsd.org/changeset/ports/327610 Log: - Fix build when CC != gcc - While at it, modernize the Makefile Modified: head/graphics/separate/Makefile (contents, props changed) Modified: head/graphics/separate/Makefile ============================================================================== --- head/graphics/separate/Makefile Thu Sep 19 09:58:42 2013 (r327609) +++ head/graphics/separate/Makefile Thu Sep 19 10:12:50 2013 (r327610) @@ -14,8 +14,8 @@ MAINTAINER= gahr@FreeBSD.org COMMENT= A CMYK plugin for The GIMP BUILD_DEPENDS= gccmakedep:${PORTSDIR}/devel/gccmakedep -LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms \ - gimp-2.0:${PORTSDIR}/graphics/gimp-app +LIB_DEPENDS= liblcms.so.1:${PORTSDIR}/graphics/lcms \ + libgimp-2.0.so:${PORTSDIR}/graphics/gimp-app USE_ZIP= yes USES= gmake pkgconfig @@ -35,12 +35,14 @@ PORTEXAMPLES= qproof.scm qexport.scm MAKE_ENV+= TARGETS="${BIN_TARGETS}" +.include <bsd.port.options.mk> + post-patch: - @${REINPLACE_CMD} -e 's| make| ${GMAKE}|; s|lib/gimp/2.0|libexec/gimp/2.2|' ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e 's|$$(PREFIX)|${PREFIX}|g' ${WRKSRC}/Makefile ${WRKSRC}/po/Makefile + @${REINPLACE_CMD} -e '/^CC/s|=|?=|; /^PREFIX/s|=|?=|; s| make| ${GMAKE}|; \ + s|lib/gimp/2.0|libexec/gimp/2.2|' ${WRKSRC}/Makefile ${WRKSRC}/po/Makefile post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309191012.r8JACoQx077490>