diff options
author | jlam <jlam> | 2008-03-04 06:59:03 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 06:59:03 +0000 |
commit | a5ad2f881e519990668be04e718e20f1b24c9005 (patch) | |
tree | 85dcef76c01a75047f6f6e519e34539fa17ae348 /games/xvier/Makefile | |
parent | 5797bfbd52d9b106c2e38ccceb177a47bad034f3 (diff) | |
download | pkgsrc-a5ad2f881e519990668be04e718e20f1b24c9005.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'games/xvier/Makefile')
-rw-r--r-- | games/xvier/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/games/xvier/Makefile b/games/xvier/Makefile index 4b6b44d40cf..d6e4e58c1dc 100644 --- a/games/xvier/Makefile +++ b/games/xvier/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/12/27 13:37:37 joerg Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/04 06:59:06 jlam Exp $ DISTNAME= xvier PKGNAME= xvier-1.0 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org #HOMEPAGE= COMMENT= Four-in-a-row game +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} USE_IMAKE= YES CPPFLAGS.SunOS+= -D__EXTENSIONS__ @@ -18,9 +20,11 @@ CPPFLAGS.SunOS+= -D__EXTENSIONS__ INSTALLATION_DIRS+= bin libexec ${PKGMANDIR}/man6 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/xvier ${PREFIX}/bin/xvier - ${INSTALL_PROGRAM} ${WRKSRC}/xvier_prog ${PREFIX}/libexec/xvier_prog - ${INSTALL_MAN} ${WRKSRC}/xvier.man ${PREFIX}/${PKGMANDIR}/man6/xvier.6 + ${INSTALL_PROGRAM} ${WRKSRC}/xvier ${DESTDIR}${PREFIX}/bin/xvier + ${INSTALL_PROGRAM} ${WRKSRC}/xvier_prog \ + ${DESTDIR}${PREFIX}/libexec/xvier_prog + ${INSTALL_MAN} ${WRKSRC}/xvier.man \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/xvier.6 .include "../../x11/libXext/buildlink3.mk" .include "../../x11/libX11/buildlink3.mk" |