pkgsrc/x11/xorg-cf-files/Makefile
wiz 0bf3511fdf Update xorg-cf-files to 1.0.6.
This package contains the configuration files, platform data, & Makefile
templates for the old Imake build tool.

Today is the 10th anniversary of X.Org moving off this tool for our own
builds.  While we continue to accept patches and publish updates for the
benefit of other packages which still use Imake to build, we have not been
actively maintaining, testing, or adding new OS or platform support for
Imake.  Software that still uses Imake to build is encouraged to move
to another build system that is better maintained.

Alan Coopersmith (8):
      configure: Drop AM_MAINTAINER_MODE
      autogen.sh: Honor NOCONFIGURE=1
      Remove very out of date OS2 DLL mappings for no-longer-shipped makedef.cmd
      sun.cf: limit SysV man page sections to Solaris 2.0-11
      sun.cf: Sun Studio 12.0 & later compilers prefer -m32/-m64
      README: reword status section
      Remove os2def.db from EXTRA_DIST
      xorg-cf-files 1.0.6

Andreas Boll (1):
      Imake.tmpl: Use gzip -n to not save the timestamps

James Cloos (1):
      Minor adjustment to the or1k patch.

Manuel A. Fernandez Montecelo (1):
      Add support for OpenRISC 1000 (or1k) CPU

Riku Voipio (1):
      add DefaultGcc2AArch64Opt to xorg.cf

Thomas Klausner (2):
      NetBSD: add AMD64Architecture, fix Arm32Architecture.
      Always include xorg.cf for GccAliasingArgs.
2015-12-27 11:31:53 +00:00

58 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.30 2015/12/27 11:31:53 wiz Exp $
DISTNAME= xorg-cf-files-1.0.6
CATEGORIES= x11 devel
MASTER_SITES= ${MASTER_SITE_XORG:=util/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://xorg.freedesktop.org/
COMMENT= Xorg imake rules
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
.include "../../mk/bsd.prefs.mk"
DARWIN_USE_QUARTZ?= 1
# SmartOS puts compiler tools in /usr/bin and does not come with lex/yacc.
.if ${OS_VARIANT} == "SmartOS"
DEPENDS+= byacc-[0-9]*:../../devel/byacc
DEPENDS+= flex-[0-9]*:../../devel/flex
SUBST_CLASSES+= fixpaths
SUBST_STAGE.fixpaths= post-patch
SUBST_MESSAGE.fixpaths= Fixing compiler tool paths
SUBST_FILES.fixpaths= svr4.cf
SUBST_SED.fixpaths+= -e 's,/usr/ccs/bin/ar,/usr/bin/ar,g'
SUBST_SED.fixpaths+= -e 's,/usr/ccs/bin/ld,/usr/bin/ld,g'
SUBST_SED.fixpaths+= -e 's,/usr/ccs/bin/lex,${PREFIX}/bin/flex,g'
SUBST_SED.fixpaths+= -e 's,/usr/ccs/bin/yacc,${PREFIX}/bin/yacc,g'
.endif
post-extract:
${CP} ${FILESDIR}/host.def ${WRKSRC}
${CP} ${FILESDIR}/xorgsite.def ${WRKSRC}
pre-configure:
.for sys in NetBSD FreeBSD DragonFly linux darwin sun
mv ${WRKSRC}/${sys}.cf ${WRKSRC}/${sys}.cf.before && \
${SED} -e "s|@@PKGSRC_CC@@|${CC}|g" \
-e "s|@@PKGSRC_CPP@@|${CPP}|g" \
-e "s|@@PKGSRC_CXX@@|${CXX}|g" \
-e "s|@@PKGSRC_CFLAGS@@|${CFLAGS}|g" \
-e "s|@@DARWIN_USE_QUARTZ@@|${DARWIN_USE_QUARTZ}|g" \
-e "s|@@INSTALL@@|${INSTALL}|g" \
${WRKSRC}/${sys}.cf.before > ${WRKSRC}/${sys}.cf
.endfor
${SED} -e "s|@PREFIX@|${PREFIX}|g" \
-e "s|@PKGMANDIR@|${PKGMANDIR}|" \
-e "s|@MAKE@|${MAKE_PROGRAM}|" ${FILESDIR}/host.def > \
${WRKSRC}/host.def
if [ ${X11BASE} != ${PREFIX} ]; then \
${ECHO} '#define RealProjectRoot ${X11BASE}' >> ${WRKSRC}/host.def; \
fi
.include "../../x11/xproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"