aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/XttXF86srv-common/Makefile
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-01-15 17:49:46 +0800
committerasami <asami@FreeBSD.org>1999-01-15 17:49:46 +0800
commitddb075247a3b75096c4bd352a8c7e2a578db0ed8 (patch)
tree101841eb4f6efcf73e430286f415756527c32593 /x11-servers/XttXF86srv-common/Makefile
parente9774651b17925d626cdf805357a15efe3b89d0e (diff)
downloadfreebsd-ports-gnome-ddb075247a3b75096c4bd352a8c7e2a578db0ed8.tar.gz
freebsd-ports-gnome-ddb075247a3b75096c4bd352a8c7e2a578db0ed8.tar.zst
freebsd-ports-gnome-ddb075247a3b75096c4bd352a8c7e2a578db0ed8.zip
Submitted by: maintainer
PR: 9513 following is a update patch for ${PORTSDIR}/x11/Xtt* ports. (1) Now, We use XFree86 3.3.3.1 rather than 3.3.3. (2) update to Xtt1.1pl05. It includes some Windowz encoding. (3) more simple XttXF86srv-common/Makefile ;-)
Diffstat (limited to 'x11-servers/XttXF86srv-common/Makefile')
-rw-r--r--x11-servers/XttXF86srv-common/Makefile67
1 files changed, 38 insertions, 29 deletions
diff --git a/x11-servers/XttXF86srv-common/Makefile b/x11-servers/XttXF86srv-common/Makefile
index 13e1e7bb1a6d..da535b7ee598 100644
--- a/x11-servers/XttXF86srv-common/Makefile
+++ b/x11-servers/XttXF86srv-common/Makefile
@@ -3,7 +3,7 @@
# Date created: 15 April 1998
# Whom: Taguchi Takeshi <taguchi@tohoku.iij.ad.jp>
#
-# $Id: Makefile,v 1.13 1999/01/03 18:49:57 sada Exp $
+# $Id: Makefile,v 1.14 1999/01/04 20:42:33 sada Exp $
#
DISTNAME= xc
@@ -11,20 +11,21 @@ PKGNAME?= xtt-common-1.1
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/ \
- ftp://www.tohoku.iij.ad.jp/xtt/
-DISTFILES= X333src-1.tgz xtt-1.1.tar.gz \
- xttdoc11-to-pl01.diff.gz
+ http://hawk.ise.chuo-u.ac.jp/student/person/tshiozak/x-tt/dists/1.x/
+DISTFILES= X333src-1.tgz X333src-2.tgz \
+ xtt-1.1.tar.gz xttdoc11-to-pl01.diff.gz
-PATCH_SITES= http://hawk.ise.chuo-u.ac.jp/student/person/tshiozak/x-tt/dists/1.x/ \
- ftp://www.tohoku.iij.ad.jp/xtt/
-PATCHFILES= xtt11-to-pl00.diff.gz xtt11pl00-to-pl01.diff.gz \
- xtt11pl01-to-pl02.diff.gz xtt11pl02-to-pl03.diff.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
MAINTAINER= taguchi@tohoku.iij.ad.jp
-LIB_DEPENDS= ttf.3:${PORTSDIR}/print/freetype
-RUN_DEPENDS+= mkttfdir:${PORTSDIR}/print/perlftlib
+LIB_DEPENDS+= ttf.3:${PORTSDIR}/print/freetype
+RUN_DEPENDS= mkttfdir:${PORTSDIR}/print/perlftlib
.if !defined(USE_SHARED_WRKSRC) && defined(COMPILE_ALL_SERVERS_AT_ONCE)
USE_SHARED_WRKSRC= YES
@@ -37,7 +38,7 @@ DISTFILES+= Wraphelp.c
IGNOREFILES= Wraphelp.c
.endif
USE_X_PREFIX= YES
-EXTRACT_ONLY= X333src-1.tgz xtt-1.1.tar.gz
+EXTRACT_ONLY= X333src-1.tgz X333src-2.tgz xtt-1.1.tar.gz
BINOWN= root
BINGRP= wheel
MASTERDIR?= ${.CURDIR}/../XttXF86srv-common
@@ -70,7 +71,6 @@ BUILD_COOKIE= ${WRKDIR}/.build_done.${SERVER}
INSTALL_COOKIE= ${WRKDIR}/.install_done.${SERVER}
PACKAGE_COOKIE= ${WRKDIR}/.package_done.${SERVER}
TMPPLIST= ${WRKDIR}/.PLIST.${SERVER}.mktmp
-ALL_TARGET= World
.if defined(COMPILE_ALL_SERVERS_AT_ONCE) && ${SERVER} != xfs
ALL_SERVER= XF86_3DLabs XF86_8514 XF86_AGX XF86_I128 XF86_Mach32 \
XF86_Mach64 XF86_Mach8 XF86_Mono XF86_P9000 XF86_S3 XF86_S3V \
@@ -84,37 +84,45 @@ HOSTDEFSRV= ${FILESDIR}/host.def.ALL
ALL_SERVER= ${SERVER} common
HOSTDEFSRV= ${FILESDIR}/host.def.${SERVER}
.endif
-.if ${SERVER} == xfs
-HOSTDEFDST= ${WRKSRC}/config/cf/host.def.xfs
-.else
-HOSTDEFDST= ${WRKSRC}/config/cf/host.def
-.endif
.else
ALL_SERVER= ${SERVER}
-.if (${SERVER} == xfs)
+HOSTDEFSRV= ${FILESDIR}/host.def.${SERVER}
+.endif
+
+HOSTDEFLOCAL= ${WRKDIR}/host.def.local
+.if ${SERVER} == xfs
ALL_TARGET= xfs
-HOSTDEFSRV=
HOSTDEFDST= ${WRKSRC}/config/cf/host.def.xfs
-.elif (${SERVER} == common)
+.elif ${SERVER} == common
ALL_TARGET= libfont
-HOSTDEFSRV= ${FILESDIR}/host.def.${SERVER}
HOSTDEFDST= ${WRKSRC}/config/cf/host.def
.else
ALL_TARGET= World
-HOSTDEFSRV= ${FILESDIR}/host.def.${SERVER}
HOSTDEFDST= ${WRKSRC}/config/cf/host.def
.endif
-.endif
-HOSTDEFLOCAL= ${WRKDIR}/host.def.local
.include <bsd.port.pre.mk>
+pre-fetch:
+.if defined(USE_SHARED_WRKSRC)
+ @( \
+ ${ECHO} "************************************************************"; \
+ ${ECHO} "* ALL PORTS COMMONLY USE x11/XttXF86srv-common/work ! *"; \
+ ${ECHO} "************************************************************")
+.if defined(COMPILE_ALL_SERVERS_AT_ONCE)
+ @( \
+ ${ECHO} "************************************************************"; \
+ ${ECHO} "* ALL PORTS (except xfs) BUILD AT ONCE ! *"; \
+ ${ECHO} "************************************************************")
+.endif
+.endif
+
.if !defined(USE_SHARED_WRKSRC) && exists(${MASTERDIR}/work/.configure_done.${SERVER})
pre-extract:
@( \
- echo "ERROR:" ; \
- echo "Xtt ${SERVER} ports have already extracted with" ; \
- echo "\"USE_SHARED_WRKSRC\" option." ; \
+ ${ECHO} "ERROR:" ; \
+ ${ECHO} "Xtt ${SERVER} ports have already extracted with" ; \
+ ${ECHO} "\"USE_SHARED_WRKSRC\" option." ; \
false )
.endif
@@ -172,7 +180,8 @@ post-build:
post-install:
@( \
- cd ${WRKDIR} ; ${TOUCH} ${TOUCH_FLAGS} ${INSTALL_COOKIE} )
+ cd ${WRKDIR} ; ${TOUCH} ${TOUCH_FLAGS} ${INSTALL_COOKIE} ; \
+ ${TOUCH} ${TOUCH_FLAGS} `${BASENAME} ${INSTALL_COOKIE} .${SERVER}`.common )
post-package:
@( \