pkgsrc/x11/xmove/Makefile
agc e05e4735dd Hardcoding X11PREFIX into package Makefiles forces the user to install
xpkgwedge once, before any other packages have been installed, and
never to delete it.  This change finds the prefix of the installed
pre-req package using pkg_info(1), and allows packages to be found in
${X11BASE} and ${LOCALBASE}, not just ${X11PREFIX} - from mail from
Dave Sainty <dave@dtsp.co.nz>, munged slightly by myself.
2000-07-10 10:40:39 +00:00

27 lines
863 B
Makefile

# $NetBSD: Makefile,v 1.5 2000/07/10 10:40:43 agc Exp $
#
DISTNAME= xmove.2.0beta2
PKGNAME= xmove-2.0b2
CATEGORIES= x11
MASTER_SITES= ftp://ftp.cs.columbia.edu/pub/xmove/
MAINTAINER= packages@netbsd.org
WRKSRC= ${WRKDIR}/xmove
USE_IMAKE= yes
XMOVEDOCDIR= ${X11PREFIX}/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:
@${MKDIR} ${XMOVEDOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/features.txt ${XMOVEDOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/limitations.txt ${XMOVEDOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/using_xmove.txt ${XMOVEDOCDIR}
.include "../../mk/bsd.pkg.mk"