aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2005-09-03 14:58:00 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2005-09-03 14:58:00 +0000
commit6304bfd8fb67dee3bec6093484aa29c0b7a36c12 (patch)
tree44ed9ac18460d18959aa2413f26741ecc97cace7 /x11-toolkits
parentb5fd87955cef7098b201dc3ef28c59c45f249f18 (diff)
downloadports-6304bfd8fb67dee3bec6093484aa29c0b7a36c12.tar.gz
ports-6304bfd8fb67dee3bec6093484aa29c0b7a36c12.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)
Notes
Notes: svn path=/head/; revision=141840
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