aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2005-09-03 22:58:00 +0800
committerlawrance <lawrance@FreeBSD.org>2005-09-03 22:58:00 +0800
commit8aa16c41f83485a2d8c6eadca966120ba80e0ea0 (patch)
treeb4ccceaaffc9d707f65e561bd9fe4db7eb476fe6 /x11-toolkits
parentb850057935470acd290bc83ac929a5a7582b88bf (diff)
downloadfreebsd-ports-gnome-8aa16c41f83485a2d8c6eadca966120ba80e0ea0.tar.gz
freebsd-ports-gnome-8aa16c41f83485a2d8c6eadca966120ba80e0ea0.tar.zst
freebsd-ports-gnome-8aa16c41f83485a2d8c6eadca966120ba80e0ea0.zip
Add WITH_I18N option to support the impending cjk-lyx
PR: ports/82191 Submitted by: Koji Yokota <yokota@res.otaru-uc.ac.jp> Approved by: mikeh (maintainer, timeout, 2 months and a bit)
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/xforms/Makefile13
-rw-r--r--x11-toolkits/xforms/distinfo2
2 files changed, 13 insertions, 2 deletions
diff --git a/x11-toolkits/xforms/Makefile b/x11-toolkits/xforms/Makefile
index cf4cd5733901..1a1fe08ce723 100644
--- a/x11-toolkits/xforms/Makefile
+++ b/x11-toolkits/xforms/Makefile
@@ -14,15 +14,24 @@ MASTER_SITES= ${MASTER_SITE_SAVANNAH} \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ${PORTNAME}/stable.pkg/${PORTVERSION} \
mikeh
+
USE_REINPLACE= yes
REINPLACE_ARGS= -i ""
-MAINTAINER= mikeh@FreeBSD.ORG
-COMMENT= A graphical user interface toolkit for X Window System
+MAINTAINER?= mikeh@FreeBSD.ORG
+COMMENT?= A graphical user interface toolkit for X Window System
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff
+.if defined(WITH_I18N)
+PKGNAMESUFFIX= -i18n
+PATCH_SITES= ftp://cellular.phys.pusan.ac.kr/CJK-LyX/xforms/ \
+ http://www.otaru-uc.ac.jp/~yokota/comp/
+PATCHFILES= xforms-1.0-i18n_7.patch
+PATCH_DIST_STRIP= -p1
+.endif
+
USE_XPM= yes
USE_IMAKE= yes
INSTALLS_SHLIB= yes
diff --git a/x11-toolkits/xforms/distinfo b/x11-toolkits/xforms/distinfo
index 33f3c8d336e0..b70940b789b7 100644
--- a/x11-toolkits/xforms/distinfo
+++ b/x11-toolkits/xforms/distinfo
@@ -1,2 +1,4 @@
MD5 (xforms-1.0.tar.gz) = 64adf1c489b629a92218f7c140f4bdaf
SIZE (xforms-1.0.tar.gz) = 1012878
+MD5 (xforms-1.0-i18n_7.patch) = 56a19c84ba63af99902a21c21e27ec1f
+SIZE (xforms-1.0-i18n_7.patch) = 48814