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.
30 lines
993 B
Makefile
30 lines
993 B
Makefile
# $NetBSD: Makefile,v 1.15 2006/12/27 13:37:46 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= xmove.2.0beta2
|
|
PKGNAME= xmove-2.0b2
|
|
PKGREVISION= 1
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ftp://ftp.cs.columbia.edu/pub/xmove/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Move an X11 display between screens and displays
|
|
|
|
WRKSRC= ${WRKDIR}/xmove
|
|
USE_IMAKE= yes
|
|
XMOVEDOCDIR= ${PREFIX}/share/doc/xmove
|
|
|
|
pre-configure:
|
|
@${SED} -e 's|@x11base@|'${X11PREFIX}'|' < ${WRKSRC}/xmove/Imakefile > ${WRKSRC}/xmove/Imakefile.new && \
|
|
${MV} ${WRKSRC}/xmove/Imakefile.new ${WRKSRC}/xmove/Imakefile
|
|
${CP} ${WRKSRC}/man/man1/xmove.1 ${WRKSRC}/xmove/xmove.man
|
|
${CP} ${WRKSRC}/man/man1/xmovectrl.1 ${WRKSRC}/xmovectrl/xmovectrl.man
|
|
|
|
post-install:
|
|
@${INSTALL_DATA_DIR} ${XMOVEDOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/features.txt ${XMOVEDOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/limitations.txt ${XMOVEDOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/using_xmove.txt ${XMOVEDOCDIR}
|
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|