aboutsummaryrefslogtreecommitdiffstats
path: root/devel/imake-4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/imake-4/Makefile')
-rw-r--r--devel/imake-4/Makefile102
1 files changed, 77 insertions, 25 deletions
diff --git a/devel/imake-4/Makefile b/devel/imake-4/Makefile
index 3b1f5a591bd4..da29f8857634 100644
--- a/devel/imake-4/Makefile
+++ b/devel/imake-4/Makefile
@@ -6,23 +6,21 @@
#
PORTNAME= imake
-PORTVERSION= 4.0.1
+PORTVERSION= 4.0.3
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.xfree86.org/pub/XFree86/${PORTVERSION}/source/ \
- ftp://ftp.freesoftware.com/pub/XFree86/${PORTVERSION}/source/ \
- ftp://ftp.lip6.fr/pub/X11/XFree86/XFree86-${PORTVERSION}/source/ \
- ftp://ftp.cs.tu-berlin.de/pub/X/XFree86/${PORTVERSION}/source/ \
- ftp://sunsite.doc.ic.ac.uk/packages/XFree86/${PORTVERSION}/source/
-DISTFILES= X401src-1.tgz
+MASTER_SITES= ${MASTER_SITE_XFREE}
+DISTFILES= X402src-1.tgz
-MAINTAINER= taguchi@tohoku.iij.ad.jp
+PATCH_SITES= ${MASTER_SITE_XFREE:S,%SUBDIR%/source,4.0.3/patches,g}
+PATCHFILES= 4.0.2-4.0.3.diff.gz
-#MANUAL_PACKAGE_BUILD= installs/removes files also in the XFree86 port
+MAINTAINER= taguchi@tohoku.iij.ad.jp
PREFIX?= ${X11BASE}
DIST_SUBDIR= xc
WRKSRC= ${WRKDIR}/xc/config
MTREE_FILE= /etc/mtree/BSD.x11-4.dist
+PATCH_DIST_ARGS= --force -d ${WRKDIR} --forward --quiet -E ${PATCH_DIST_STRIP} 2>/dev/null || true
EXTRACT_AFTER_ARGS= | ${TAR} -xf - xc/Imakefile \
xc/Makefile \
xc/config \
@@ -39,28 +37,82 @@ MAN1= imake.1 \
rman.1 \
xmkmf.1
MANCOMPRESSED= yes
-INSTALL_TARGET= install install.man
-# Followings are configration variables for XFree86 Systems.
-HasSecureRPC?= YES
-HasXdmAuth?= YES
-HasPam?= YES
-BuildPexExt?= YES
-BuildXinerama?= YES
-BuildXIE?= YES
-BuildAoutLibraries?= NO
-# End of XFree86 configrations
SCRIPTS_ENV+= OSVERSION=${OSVERSION} \
- PREFIX=${PREFIX} \
- X11BASE=${X11BASE} \
- WRKDIR=${WRKDIR} \
- DISTDIR=${DISTDIR} \
- FILESDIR=${FILESDIR} \
HasSecureRPC=${HasSecureRPC} \
HasXdmAuth=${HasXdmAuth} \
HasPam=${HasPam} \
BuildPexExt=${BuildPexExt} \
BuildXinerama=${BuildXinerama} \
BuildXIE=${BuildXIE} \
- BuildAoutLibraries=${BuildAoutLibraries}
+ BuildAoutLibraries=${BuildAoutLibraries} \
+ ForceNormalLib=${ForceNormalLib} \
+ DebuggableLibraries=${DebuggableLibraries} \
+ JoystickSupport=${JoystickSupport} \
+ InstallXdmConfig=${InstallXdmConfig} \
+ InstallXinitConfig=${InstallXinitConfig} \
+ InstallAppDefFiles=${InstallAppDefFiles} \
+ ExtendedInputDevices=${ExtendedInputDevices} \
+ Build75DpiFonts=${Build75DpiFonts} \
+ Build100DpiFonts=${Build100DpiFonts} \
+ BuildSpeedoFonts=${BuildSpeedoFonts} \
+ BuildType1Fonts=${BuildType1Fonts} \
+ BuildCIDFonts=${BuildCIDFonts} \
+ BuildTTFonts=${BuildTTFonts}
+INSTALL_TARGET= install install.man
+# ---
+# User Config:
+# All variables are same as Imake config macros.
+# For more details, see ${WRKDIR}/xc/config/cf/README.
+# Followings will write to ${PFEFIX}/lib/X11/config/xf86site.def,
+# and all of XFree86-4-* ports will use them as default value.
+# Offcause, you can override them (at your own risk ;-).
+# Read scripts/configure for more details.
+# ---
+HasSecureRPC?= YES
+HasXdmAuth?= YES
+HasPam?= YES
+BuildPexExt?= YES
+BuildXinerama?= YES
+BuildXIE?= YES
+BuildAoutLibraries?= NO
+ForceNormalLib?= YES
+DebuggableLibraries?= NO
+JoystickSupport?= YES
+InstallXdmConfig?= YES
+InstallXinitConfig?= YES
+InstallAppDefFiles?= YES
+Build75DpiFonts?= YES
+Build100DpiFonts?= YES
+BuildSpeedoFonts?= YES
+BuildType1Fonts?= YES
+BuildCIDFonts?= YES
+BuildTTFonts?= YES
+# ---
+# Undocumented variables:
+# ExtendedInputDevices: if you want to support some extended input device,
+# such as wacom tablets, set YES.
+# if NO, only mouse device will be supported.
+ExtendedInputDevices?= YES
+# ---
+# Unconfigurable variables:
+# BuildXF86Setup=NO : XF86Setup is now broken ;-(
+#
+# BuildFontServer : if you want to use xfs, then do not install its ports.
+# BuildFonts : if you don't need fonts, then do not install its ports.
+# BuildCyrillicFonts : install ${PORTSDIR}/x11-fonts/XFree86-4-fontCyrillic
+# BuildLatin2Fonts : install ${PORTSDIR}/x11-fonts/XFree86-4-fontLatin2
+# [Note1] all of loadable modules (such as speedo, type1)
+# will be compiled/installed as default.
+# [Note2] default/traditional X11 fonts are corrected under
+# ${PORTSDIR}/x11-fonts/XFree86-4-fontDefaultBitmaps.
+#
+# XF86CardDrivers : XFree86-4-* ports try to support many devices.
+# XInputDrivers : So if you want to config them, edit manualy.
+#
+# NothingOutsideProjectRoot=YES : any ports will not install to /etc/ dir.
+# This means config files will be installed to ${PREFIX}/lib/X11.
+# It's a traditional place ;-)
+# InstallXserverSetUID=NO : use Xwrapper.
+# End of XFree86 configrations
.include <bsd.port.mk>