d26cf36e57
or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or via buildlink3.mks - introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm in the !modular case - fix some cases where the check for libX11 couldn't work at all by using C++ for compilation without including the proper headers Verified using a full X11_TYPE=xorg bulk build without additional breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
36 lines
964 B
Makefile
36 lines
964 B
Makefile
# $NetBSD: Makefile,v 1.20 2006/12/27 13:37:36 joerg Exp $
|
|
|
|
DISTNAME= xengine-1.0.1
|
|
PKGREVISION= 3
|
|
CATEGORIES= benchmarks
|
|
MASTER_SITES= ftp://ftp.lab.kdd.co.jp/Usenet/comp.sources.x/volume09/xengine/
|
|
DISTFILES= part01.z patch1.z
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Reciprocating engine for X
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
DIST_SUBDIR= xengine
|
|
USE_IMAKE= yes
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
USE_TOOLS+= gzcat patch sed
|
|
|
|
EXTRACT_CMD= ${GZCAT} $$extract_file | ${SED} "1,/\#!/d" | ${SH}
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC}; ${PATCH} ${PATCH_DIST_ARGS} < xengine.patch1
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xengine
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xengine
|
|
@${ECHO} ""
|
|
@${ECHO} "Example value:"
|
|
@${ECHO} " 1067 RPMs with P100, Winner 2000PRO/X, resolution: 1152x900"
|
|
@${ECHO} ""
|
|
|
|
.include "../../x11/libXaw/buildlink3.mk"
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|