From owner-svn-ports-all@FreeBSD.ORG Wed Feb 5 11:09:06 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 58AE0960; Wed, 5 Feb 2014 11:09:06 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 283C21B6C; Wed, 5 Feb 2014 11:09:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s15B96h1093963; Wed, 5 Feb 2014 11:09:06 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s15B960u093962; Wed, 5 Feb 2014 11:09:06 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201402051109.s15B960u093962@svn.freebsd.org> From: Pietro Cerutti Date: Wed, 5 Feb 2014 11:09:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342686 - head/graphics/separate X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 11:09:06 -0000 Author: gahr Date: Wed Feb 5 11:09:05 2014 New Revision: 342686 URL: http://svnweb.freebsd.org/changeset/ports/342686 QAT: https://qat.redports.org/buildarchive/r342686/ Log: - STAGE-clean - Add LICENSE Modified: head/graphics/separate/Makefile Modified: head/graphics/separate/Makefile ============================================================================== --- head/graphics/separate/Makefile Wed Feb 5 10:44:19 2014 (r342685) +++ head/graphics/separate/Makefile Wed Feb 5 11:09:05 2014 (r342686) @@ -11,7 +11,11 @@ MASTER_SITE_SUBDIR= separate-plus/47873 DISTNAME= ${PORTNAME}+-${PORTVERSION} MAINTAINER= gahr@FreeBSD.org -COMMENT= A CMYK plugin for The GIMP +COMMENT= CMYK plugin for The GIMP + +LICENSE= GPLv2 + +OPTIONS_DEFINE= DOCS EXAMPLES BUILD_DEPENDS= gccmakedep:${PORTSDIR}/devel/gccmakedep LIB_DEPENDS= liblcms.so.1:${PORTSDIR}/graphics/lcms \ @@ -23,8 +27,8 @@ USES= gmake pkgconfig BIN_TARGETS= separate separate_import icc_colorspace L10N_TARGETS= cs es fr ja ko pl ru -.for PLUGIN in ${BIN_TARGETS} -PLIST_FILES+= libexec/gimp/2.2/plug-ins/${PLUGIN} +.for plugin in ${BIN_TARGETS} +PLIST_FILES+= libexec/gimp/2.2/plug-ins/${plugin} .endfor .for lang in ${L10N_TARGETS} PLIST_FILES+= share/locale/${lang}/LC_MESSAGES/gimp20-separate.mo @@ -33,24 +37,31 @@ PLIST_FILES+= share/locale/${lang}/LC_ME PORTDOCS= README* PORTEXAMPLES= qproof.scm qexport.scm -MAKE_ENV+= TARGETS="${BIN_TARGETS}" +MAKE_ENV+= TARGETS="${BIN_TARGETS}" \ + PREFIX=${STAGEDIR}${PREFIX} -NO_STAGE= yes .include post-patch: - @${REINPLACE_CMD} -e '/^CC/s|=|?=|; /^PREFIX/s|=|?=|; s| make| ${GMAKE}|; \ - s|lib/gimp/2.0|libexec/gimp/2.2|' ${WRKSRC}/Makefile ${WRKSRC}/po/Makefile + @${REINPLACE_CMD} -e '/^CC/s|=|?=|; s| make| ${MAKE_CMD}|;' \ + ${WRKSRC}/Makefile ${WRKSRC}/po/Makefile -post-install: +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gimp/2.2/plug-ins +.for plugin in ${BIN_TARGETS} + ${INSTALL_PROGRAM} ${WRKSRC}/${plugin} ${STAGEDIR}${PREFIX}/libexec/gimp/2.2/plug-ins/ +.endfor +.for lang in ${L10N_TARGETS} + ${INSTALL_DATA} ${WRKSRC}/po/${lang}.gmo ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/gimp20-separate.mo +.endfor .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif -.if !defined(NOPORTEXAMPLES) - ${MKDIR} ${EXAMPLESDIR} +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/sample-scripts && \ - ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR} + ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} .endif @${CAT} pkg-message