aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2010-05-17 15:39:16 +0800
committergahr <gahr@FreeBSD.org>2010-05-17 15:39:16 +0800
commit9aa75692bee16d01a64b7b404696498d4733f76f (patch)
tree2f33d1a03f44a246d9ee97c9ba29d018efc80c4e /graphics
parentd521f0cd8ea21e44a5c6d25d7a4fe4dc6f055681 (diff)
downloadfreebsd-ports-gnome-9aa75692bee16d01a64b7b404696498d4733f76f.tar.gz
freebsd-ports-gnome-9aa75692bee16d01a64b7b404696498d4733f76f.tar.zst
freebsd-ports-gnome-9aa75692bee16d01a64b7b404696498d4733f76f.zip
- Update to 0.5.7
PR: 146457 Submitted by: RyōTa SimaMoto <liangtai.s4@gmail.com>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/separate/Makefile40
-rw-r--r--graphics/separate/distinfo6
2 files changed, 22 insertions, 24 deletions
diff --git a/graphics/separate/Makefile b/graphics/separate/Makefile
index 8c267df076ac..c44d12dbc912 100644
--- a/graphics/separate/Makefile
+++ b/graphics/separate/Makefile
@@ -6,13 +6,12 @@
#
PORTNAME= separate
-PORTVERSION= 0.5.3
-PORTREVISION= 3
+PORTVERSION= 0.5.7
PORTEPOCH= 1
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= SFJP \
http://people.freebsd.org/~gahr/distfiles/
-MASTER_SITE_SUBDIR= gahr
+MASTER_SITE_SUBDIR= separate-plus/46785
DISTNAME= ${PORTNAME}+-${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
@@ -22,38 +21,37 @@ BUILD_DEPENDS= gccmakedep:${PORTSDIR}/devel/gccmakedep \
gimp-2.6:${PORTSDIR}/graphics/gimp
LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms
-WRKSRC= ${WRKDIR}/${DISTNAME}
-
USE_ZIP= yes
+USE_GMAKE= yes
-GIMP_PLUGINS_DIR= libexec/gimp/2.2/plug-ins/
-TARGETS= separate separate_import icc_colorspace
+BIN_TARGETS= separate separate_import icc_colorspace
+L10N_TARGETS= cs fr ja ko pl ru
-.for PLUGIN in ${TARGETS}
-PLIST_FILES+= ${GIMP_PLUGINS_DIR}/${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
.endfor
PORTDOCS= README*
-PORTEXAMPLES= quickproof.scm quicksave.scm
+PORTEXAMPLES= qproof.scm qexport.scm
-MAKE_ENV+= TARGETS="${TARGETS}"
+MAKE_ENV+= TARGETS="${BIN_TARGETS}"
-do-install:
- ${INSTALL} -d ${PREFIX}/${GIMP_PLUGINS_DIR}
-.for PLUGIN in ${TARGETS}
- ${INSTALL_PROGRAM} ${WRKSRC}/${PLUGIN} ${PREFIX}/${GIMP_PLUGINS_DIR}/
-.endfor
+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
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README_ICC_COLORSPACE ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/sample-scripts/for_GIMP2.3+/quickproof.scm ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/sample-scripts/for_GIMP2.3+/quicksave.scm ${EXAMPLESDIR}
+ cd ${WRKSRC}/sample-scripts && \
+ ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
.endif
@${CAT} pkg-message
diff --git a/graphics/separate/distinfo b/graphics/separate/distinfo
index ad2ca89a8fa7..0241bacd9f88 100644
--- a/graphics/separate/distinfo
+++ b/graphics/separate/distinfo
@@ -1,3 +1,3 @@
-MD5 (separate+-0.5.3.zip) = 2c9b8ba641ba02f4bbb6a3b7e862d46f
-SHA256 (separate+-0.5.3.zip) = e43a778a7f54cf1a524984463bc4fe6d38bd22cfa9b985e086fb25085abdf123
-SIZE (separate+-0.5.3.zip) = 201919
+MD5 (separate+-0.5.7.zip) = 3040baa11a9bf9c5c3112cdd715eaada
+SHA256 (separate+-0.5.7.zip) = d7524f28c2634ad0aacdf2c6c4bb113b58638444c303140a1d222444c5a36fe2
+SIZE (separate+-0.5.7.zip) = 242592