Makefile revision 553
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder###############################################################################
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance#
e9458b1a7a19a63aa4c179f9ab20f4d50681c168Jens Elkner# xterm 1.x Makefile
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance#
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance# Use subject to license terms.
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance#
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance# Permission is hereby granted, free of charge, to any person obtaining a
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance# copy of this software and associated documentation files (the
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance# "Software"), to deal in the Software without restriction, including
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance# without limitation the rights to use, copy, modify, merge, publish,
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance# distribute, and/or sell copies of the Software, and to permit persons
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance# to whom the Software is furnished to do so, provided that the above
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance# copyright notice(s) and this permission notice appear in all copies of
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance# the Software and that both the above copyright notice(s) and this
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance# permission notice appear in supporting documentation.
80875f917d741946a39d0ec0b5721e46ba609823Till Mossakowski#
80875f917d741946a39d0ec0b5721e46ba609823Till Mossakowski# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
b84c87f199dc287d235d7dad6ea344f6912ef531Christian Maeder# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
b84c87f199dc287d235d7dad6ea344f6912ef531Christian Maeder# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
b84c87f199dc287d235d7dad6ea344f6912ef531Christian Maeder#
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder# Except as contained in this notice, the name of a copyright holder
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance# shall not be used in advertising or otherwise to promote the sale, use
c4fb83732e318acadfa1276c6a11edf2dbea4ac4mcodescu# or other dealings in this Software without prior written authorization
154ca4982c26cd43f203a473ae28ad9710c533ffmcodescu# of the copyright holder.
80875f917d741946a39d0ec0b5721e46ba609823Till Mossakowski#
154ca4982c26cd43f203a473ae28ad9710c533ffmcodescu#
b84c87f199dc287d235d7dad6ea344f6912ef531Christian Maeder
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder# Package name used in tarballs
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel ManceMODULE_NAME=xterm
aa0ca44e856c87db27e61687cbb630f270976da1Felix Gabriel Mance
b84c87f199dc287d235d7dad6ea344f6912ef531Christian Maeder# Version number (used in path names)
1a38107941725211e7c3f051f7a8f5e12199f03acmaederMODULE_VERSION=236
80875f917d741946a39d0ec0b5721e46ba609823Till Mossakowski
80875f917d741946a39d0ec0b5721e46ba609823Till Mossakowski# Source tarball
80875f917d741946a39d0ec0b5721e46ba609823Till MossakowskiSOURCE_URL=ftp://invisible-island.net/xterm/$(SOURCE_TARBALL_NAME:.tar.gz=.tgz)
SOURCE_URL_SET=yes
# Source tarball
SOURCE_TARBALL_NAME=$(MODULE_NAME)-$(MODULE_VERSION).tar.gz
SOURCE_TARBALL_NAME_SET=yes
SOURCE_UNCOMPRESS=gzcat
# Patches to apply to source after unpacking, in order
SOURCE_PATCHES = \
4251073.patch
# Man pages to apply Sun footer to & attributes to list
SUNTOUCHED_MANPAGES=*.man
SUN_PACKAGE=SUNWxwopt
MODULE_STABILITY=Committed
# Paths to find Xft/fontconfig/freetype headers libraries at build time
# and run time
FT_CFLAGS= -I$(PROTODIR)/usr/include -I$(PROTODIR)/usr/include/freetype2 \
-I$(PROTODIR)/usr/X11/include
FT_LIBS= \
-L$(PROTODIR)/usr/X11/lib$(LIBSUBDIR) -R/usr/X11/lib$(LIBSUBDIR) -lXft \
-L$(PROTODIR)/usr/lib$(LIBSUBDIR) -R/usr/lib$(LIBSUBDIR) -lfontconfig
# Additional flags to pass to configure script
MODULE_CONFIG_OPTS = --enable-256-color --enable-88-color --enable-wide-chars \
--with-freetype-cflags="$(FT_CFLAGS)" --with-freetype-libs="$(FT_LIBS)" \
--disable-setuid --disable-setgid --enable-luit \
--x-includes=$(PROTODIR)/usr/X11/include --x-libraries=/usr/X11/lib \
--with-icondir=/usr/share/pixmaps
# Tell configure where to find luit binary
MODULE_CONFIG_ENV = LUIT=/usr/X11/bin/luit
# Use new libXaw
MODULE_LD_OPTIONS = -L$(PROTODIR)$(X11_DIR)/lib/xorgcfg \
-R$(X11_DIR)/lib/xorgcfg
include ../Makefile.inc