aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/XttXF86srv-common
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>1999-04-02 08:28:58 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>1999-04-02 08:28:58 +0000
commitc5b90c2f7aba6f70e328d13fcf447077c5b47c02 (patch)
treed3b8929f22691c0e89aadb80ae8ac45fc3955045 /x11-servers/XttXF86srv-common
parent73bbb5387243ff98ce35105e207962997fb092e1 (diff)
downloadports-c5b90c2f7aba6f70e328d13fcf447077c5b47c02.tar.gz
ports-c5b90c2f7aba6f70e328d13fcf447077c5b47c02.zip
Notes
Diffstat (limited to 'x11-servers/XttXF86srv-common')
-rw-r--r--x11-servers/XttXF86srv-common/Makefile57
-rw-r--r--x11-servers/XttXF86srv-common/distinfo10
-rw-r--r--x11-servers/XttXF86srv-common/pkg-plist10
3 files changed, 44 insertions, 33 deletions
diff --git a/x11-servers/XttXF86srv-common/Makefile b/x11-servers/XttXF86srv-common/Makefile
index d9ab5918dbd7..526b4071a02a 100644
--- a/x11-servers/XttXF86srv-common/Makefile
+++ b/x11-servers/XttXF86srv-common/Makefile
@@ -1,32 +1,31 @@
# New ports collection makefile for: Common Files for Xservers with Xtt
-# Version required: 1.1
+# Version required: 1.2.1
# Date created: 15 April 1998
# Whom: Taguchi Takeshi <taguchi@tohoku.iij.ad.jp>
#
-# $Id: Makefile,v 1.16 1999/03/08 07:28:36 asami Exp $
+# $Id: Makefile,v 1.17 1999/03/19 22:38:55 asami Exp $
#
DISTNAME= xc
-PKGNAME?= xtt-common-1.1
+PKGNAME?= xtt-common-${VERSION}.${PATCHLEVEL}
CATEGORIES= x11
MASTER_SITES= ftp://ftp.xfree86.org/pub/XFree86/3.3.3/source/ \
ftp://xfree86.cdrom.com/pub/XFree86/3.3.3/source/ \
- http://hawk.ise.chuo-u.ac.jp/student/person/tshiozak/x-tt/dists/1.x/
+ http://hawk.ise.chuo-u.ac.jp/student/person/tshiozak/x-tt/dists/1.x/1.2/
DISTFILES= X333src-1.tgz X333src-2.tgz \
- xtt-1.1.tar.gz xttdoc11-to-pl01.diff.gz
+ xtt-1.2.tar.gz \
+ xtt-1.2-to-1.2.1.tar.gz
-PATCH_SITES= ftp://ftp.xfree86.org/pub/XFree86/3.3.3/fixes/ \
- http://hawk.ise.chuo-u.ac.jp/student/person/tshiozak/x-tt/dists/1.x/
-PATCHFILES= 3.3.3-3.3.3.1.diff.gz \
- xtt11-to-pl00.diff.gz xtt11pl00-to-pl01.diff.gz \
- xtt11pl01-to-pl02.diff.gz xtt11pl02-to-pl03.diff.gz \
- xtt11pl03-to-pl04.diff.gz xtt11pl04-to-pl05.diff.gz
+PATCH_SITES= ftp://ftp.xfree86.org/pub/XFree86/3.3.3/fixes/
+PATCHFILES= 3.3.3-3.3.3.1.diff.gz
MAINTAINER= taguchi@tohoku.iij.ad.jp
LIB_DEPENDS+= ttf.3:${PORTSDIR}/print/freetype
RUN_DEPENDS= mkttfdir:${PORTSDIR}/print/perlftlib
+VERSION= 1.2
+PATCHLEVEL= 1
.if !defined(USE_SHARED_WRKSRC) && defined(COMPILE_ALL_SERVERS_AT_ONCE)
USE_SHARED_WRKSRC= YES
.endif
@@ -38,7 +37,8 @@ DISTFILES+= Wraphelp.c
IGNOREFILES= Wraphelp.c
.endif
USE_X_PREFIX= YES
-EXTRACT_ONLY= X333src-1.tgz X333src-2.tgz xtt-1.1.tar.gz
+EXTRACT_ONLY= X333src-1.tgz X333src-2.tgz \
+ xtt-1.2.tar.gz xtt-1.2-to-1.2.1.tar.gz
BINOWN= root
BINGRP= wheel
MASTERDIR?= ${.CURDIR}/../XttXF86srv-common
@@ -49,7 +49,18 @@ WRKDIR= ${MASTERDIR}/work
.endif
WRKSRC= ${WRKDIR}/xc
DIST_SUBDIR= xc
-XTTDIR= ${WRKDIR}/xtt-1.1
+XTTDIR= ${WRKDIR}/xtt-1.2
+XTTPATCHDIR= ${WRKDIR}/xtt-1.2-to-1.2.1
+.if !defined(PATCH_DEBUG)
+XTTPATCHARGS= -p1 -E -t -s -N
+.else
+XTTPATCHARGS= -p1 -E
+.endif
+COREPATCHES= shared-libfont-1.0.diff xfs-for-delayed-font-1.0.diff \
+ make-xfs-only-1.1.diff xtt-xf333-changes.diff
+XTTTARBALL= xtt-core.tar
+ADDPATCHES= ${XTTDIR}/contribute/xtt-xfsft-lib.patch \
+ ${XTTPATCHDIR}/xtt-core.diff
DOCDIR= ${PREFIX}/share/doc/Xtt
SERVER?= common
PATCH_DIST_ARGS= -d ${WRKDIR} --forward --quiet -E ${PATCH_STRIP}
@@ -127,10 +138,16 @@ pre-extract:
.endif
pre-patch:
- @( cd ${WRKSRC}; ${PATCH} -p1 -t -s < ${XTTDIR}/xtt-1.1.diff ; \
- cd ${XTTDIR}; \
- ${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/xttdoc11-to-pl01.diff.gz | \
- ${PATCH} -t -s )
+ @( cd ${WRKSRC}; \
+ for i in ${COREPATCHES} ; do \
+ ${PATCH} ${XTTPATCHARGS} < ${XTTDIR}/$${i}; \
+ done; \
+ ${TAR} xf ${XTTDIR}/${XTTTARBALL} -C ${WRKSRC}/lib/font; \
+ for i in ${ADDPATCHES} ; do \
+ ${PATCH} ${XTTPATCHARGS} < $${i}; \
+ done; \
+ cd ${XTTDIR}/doc; \
+ ${PATCH} ${XTTPATCHARGS} < ${XTTPATCHDIR}/xtt-doc.diff )
pre-configure:
@( \
@@ -148,10 +165,10 @@ do-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib; \
${INSTALL_SCRIPT} ${FILESDIR}/mkfontdir.pl ${PREFIX}/bin; \
${MKDIR} ${DOCDIR}; \
- ${INSTALL_DATA} ${XTTDIR}/[0A-Z]*.eng ${DOCDIR}; \
- ${INSTALL_DATA} ${XTTDIR}/[0A-Z]*.jis ${DOCDIR} )
+ ${INSTALL_DATA} ${XTTDIR}/doc/[0A-Z]*.eng ${DOCDIR}; \
+ ${INSTALL_DATA} ${XTTDIR}/doc/[0A-Z]*.jis ${DOCDIR} )
.if ${PORTOBJFORMAT} == "aout"
- ${LN} -sf libfont.so.1.1 ${PREFIX}/lib/libfont.so
+ ${LN} -sf libfont.so.1.2 ${PREFIX}/lib/libfont.so
.endif
.elif ${SERVER} == xfs
do-install:
diff --git a/x11-servers/XttXF86srv-common/distinfo b/x11-servers/XttXF86srv-common/distinfo
index a3b0946e941e..b6f64f154b6f 100644
--- a/x11-servers/XttXF86srv-common/distinfo
+++ b/x11-servers/XttXF86srv-common/distinfo
@@ -1,12 +1,6 @@
MD5 (xc/X333src-1.tgz) = 4c7518284e05d8858a95501d2013c985
MD5 (xc/X333src-2.tgz) = 8b10b70b59c05bf9e5898444b725f039
-MD5 (xc/xtt-1.1.tar.gz) = 9a6df3f641ffccde0d65271ff60fa813
-MD5 (xc/xttdoc11-to-pl01.diff.gz) = 09911c05ba01a57b4518e2b1f94ef177
+MD5 (xc/xtt-1.2.tar.gz) = 15585e87ffaa35de7cf80ca17fd02246
+MD5 (xc/xtt-1.2-to-1.2.1.tar.gz) = 157b175a19e56b5dabeb9d3f88de9533
MD5 (xc/3.3.3-3.3.3.1.diff.gz) = 35d41054e0bcb1a4cf29ab4364027d2b
-MD5 (xc/xtt11-to-pl00.diff.gz) = 4e78449a5448b761051be8ba8eaca0a7
-MD5 (xc/xtt11pl00-to-pl01.diff.gz) = 13a411f6162b5a15418e8e8536c89a6d
-MD5 (xc/xtt11pl01-to-pl02.diff.gz) = 914aa5605b75eb4f22351e9eb4439daa
-MD5 (xc/xtt11pl02-to-pl03.diff.gz) = 88b7fa986d3eb30fcf44b7bb62cab68e
-MD5 (xc/xtt11pl03-to-pl04.diff.gz) = 3f36befe256f442bee7bdfa074c10665
-MD5 (xc/xtt11pl04-to-pl05.diff.gz) = 28f1f8442728d4b4cb411c95b4bf8b94
MD5 (xc/Wraphelp.c) = IGNORE
diff --git a/x11-servers/XttXF86srv-common/pkg-plist b/x11-servers/XttXF86srv-common/pkg-plist
index 66a23c5855e5..853e69d7930c 100644
--- a/x11-servers/XttXF86srv-common/pkg-plist
+++ b/x11-servers/XttXF86srv-common/pkg-plist
@@ -9,11 +9,11 @@ share/doc/Xtt/CHANGES.jis
share/doc/Xtt/EXAMPLES.jis
share/doc/Xtt/INSTALL.jis
share/doc/Xtt/MISCNOTES.jis
-include/X11/fonts/codeconv/ftcap.h
-include/X11/fonts/codeconv/ftcconv.h
-include/X11/fonts/codeconv/ftcconvC.h
-include/X11/fonts/codeconv/ftcconvP.h
-include/X11/fonts/codeconv/ftmisc.h
+include/X11/fonts/codeconv/xttcap.h
+include/X11/fonts/codeconv/xttcconv.h
+include/X11/fonts/codeconv/xttcconvP.h
+include/X11/fonts/codeconv/xttcommon.h
+lib/modules/codeconv/ARABIC.so
lib/modules/codeconv/ARMSCII8.so
lib/modules/codeconv/BIG5.so
lib/modules/codeconv/DOSENCODING.so