pkgsrc/x11/xmove/Makefile
2009-07-07 17:07:38 +00:00

33 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2009/07/07 17:07:38 joerg Exp $
#
DISTNAME= xmove.2.0beta2
PKGNAME= xmove-2.0b2
PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ftp://ftp.ntplx.net/pub/unix/source/
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Move an X11 display between screens and displays
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/xmove
USE_IMAKE= yes
XMOVEDOCDIR= ${PREFIX}/share/doc/xmove
INSTALLATION_DIRS= ${XMOVEDOCDIR}
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} ${WRKSRC}/doc/features.txt ${DESTDIR}${XMOVEDOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/limitations.txt ${DESTDIR}${XMOVEDOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/using_xmove.txt ${DESTDIR}${XMOVEDOCDIR}
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"