DESTDIR support
This commit is contained in:
parent
b60d8261e5
commit
78505ca8a1
11 changed files with 50 additions and 22 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.22 2010/01/18 09:58:49 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.23 2010/01/29 23:01:53 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= openmsx-0.6.2
|
||||
|
@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
HOMEPAGE= http://openmsx.sourceforge.net/
|
||||
COMMENT= MSX emulator that aims for perfection
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
USE_TOOLS+= gmake
|
||||
USE_LANGUAGES= c c++
|
||||
HAS_CONFIGURE= yes
|
||||
|
@ -37,8 +39,11 @@ post-build:
|
|||
${ECHO} 'exec ${PREFIX}/openmsx/bin/openmsx $$@' \
|
||||
) > ${WRKSRC}/openmsx.sh
|
||||
|
||||
INSTALLATION_DIRS+= bin
|
||||
INSTALL_MAKE_FLAGS+= OPENMSX_INSTALL=${DESTDIR}${PREFIX}/openmsx
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${PREFIX}/bin/openmsx
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${DESTDIR}${PREFIX}/bin/openmsx
|
||||
|
||||
.include "../../devel/SDL/buildlink3.mk"
|
||||
.include "../../devel/zlib/buildlink3.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.18 2008/01/19 09:16:21 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.19 2010/01/29 23:05:34 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= galaxa.0.1
|
||||
|
@ -11,12 +11,16 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
HOMEPAGE= http://web.archive.org/web/2/http://www.newbreedsoftware.com/galaxa/
|
||||
COMMENT= Space game based loosely on "Galaga"
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
WRKSRC= ${WRKDIR}/galaxa
|
||||
MAKE_FILE= makefile
|
||||
|
||||
INSTALLATION_DIRS+= bin share/doc/galaxa
|
||||
INSTALL_MAKE_FLAGS+= INSTALLROOT=${DESTDIR}${PREFIX}
|
||||
|
||||
pre-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/galaxa
|
||||
${CP} ${WRKSRC}/README.txt ${PREFIX}/share/doc/galaxa
|
||||
${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/doc/galaxa
|
||||
|
||||
.include "../../x11/libX11/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.16 2007/02/02 18:42:14 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.17 2010/01/29 23:06:03 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= glaxium_0.5
|
||||
|
@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
HOMEPAGE= http://xhosxe.free.fr/glaxium/
|
||||
COMMENT= Space-ship OpenGL shoot them up
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_TOOLS+= gmake
|
||||
USE_LANGUAGES= c c++
|
||||
|
@ -24,6 +26,11 @@ SUBST_FILES.bill= conf.h
|
|||
SUBST_SED.bill= -e "s,share\/games,share,g"
|
||||
SUBST_MESSAGE.bill= Fixing data path.
|
||||
|
||||
INSTALLATION_DIRS+= bin
|
||||
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
|
||||
exec_prefix=${DESTDIR}${PREFIX} \
|
||||
mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
|
||||
|
||||
.include "../../audio/SDL_mixer/buildlink3.mk"
|
||||
.include "../../devel/SDL/buildlink3.mk"
|
||||
.include "../../graphics/MesaLib/buildlink3.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.12 2008/11/25 03:15:32 chuck Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2010/01/29 23:08:33 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= golddigC3.1
|
||||
|
@ -9,9 +9,13 @@ MASTER_SITES= http://www.NetBSD.org/~chuck/gz/
|
|||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
COMMENT= Fast action game designed for use with X
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
USE_X11BASE= yes
|
||||
|
||||
INSTALLATION_DIRS= bin ${PKGMANDIR}/man6
|
||||
INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX} \
|
||||
MAN=${DESTDIR}${PREFIX}/${PKGMANDIR}/man6
|
||||
|
||||
SCORE_GROUP= games
|
||||
PKG_GROUPS= ${SCORE_GROUP}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2007/03/24 19:21:24 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2010/01/29 23:08:08 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= greed-3.4
|
||||
|
@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
HOMEPAGE= http://www.catb.org/~esr/greed/
|
||||
COMMENT= Strategy game: eat as much as possible
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
BUILD_TARGET= greed
|
||||
INSTALLATION_DIRS= bin ${PKGMANDIR}/man6
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
$NetBSD: distinfo,v 1.3 2007/05/15 13:28:21 obache Exp $
|
||||
$NetBSD: distinfo,v 1.4 2010/01/29 23:08:08 joerg Exp $
|
||||
|
||||
SHA1 (greed-3.4.tar.gz) = d70bd592378531d6726dfe00d3627e13b9dd9cce
|
||||
RMD160 (greed-3.4.tar.gz) = 13c432c030d333d0b6722263067dfab2fb2cf26e
|
||||
Size (greed-3.4.tar.gz) = 11463 bytes
|
||||
SHA1 (patch-aa) = 53acf3944f5e59dc7862196168aeb5c5882cae89
|
||||
SHA1 (patch-aa) = aaae80b12f8754991f769546e6a5f627ec1a0df8
|
||||
SHA1 (patch-ab) = 7c1e486d202d46af857da983d90e72478c08ef20
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-aa,v 1.2 2007/02/27 07:50:49 wiz Exp $
|
||||
$NetBSD: patch-aa,v 1.3 2010/01/29 23:08:08 joerg Exp $
|
||||
|
||||
--- Makefile.orig 2002-07-30 22:04:21.000000000 +0000
|
||||
+++ Makefile
|
||||
|
@ -10,7 +10,7 @@ $NetBSD: patch-aa,v 1.2 2007/02/27 07:50:49 wiz Exp $
|
|||
+SFILE=${PREFIX}/share/games/greed.hs
|
||||
# Location of game executable
|
||||
-BIN=/usr/games
|
||||
+BIN=${PREFIX}/bin
|
||||
+BIN=${DESTDIR}${PREFIX}/bin
|
||||
|
||||
# Flags for use with the Linux ncurses package (recommended)
|
||||
-CFLAGS = -O -s -DNOTBSD
|
||||
|
@ -24,7 +24,7 @@ $NetBSD: patch-aa,v 1.2 2007/02/27 07:50:49 wiz Exp $
|
|||
install: greed.6 uninstall
|
||||
cp greed $(BIN)
|
||||
- cp greed.6 /usr/share/man/man6/greed.6
|
||||
+ cp greed.6 $(PREFIX)/$(PKGMANDIR)/man6
|
||||
+ cp greed.6 ${DESTDIR}$(PREFIX)/$(PKGMANDIR)/man6
|
||||
|
||||
uninstall:
|
||||
rm -f $(BIN)/install /usr/share/man/man6/greed.6
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.33 2009/08/26 19:57:31 sno Exp $
|
||||
# $NetBSD: Makefile,v 1.34 2010/01/29 23:10:53 joerg Exp $
|
||||
|
||||
DISTNAME= gtkballs-3.1.5
|
||||
PKGREVISION= 8
|
||||
|
@ -9,6 +9,8 @@ MAINTAINER= shattered@NetBSD.org
|
|||
HOMEPAGE= http://gtkballs.antex.ru/
|
||||
COMMENT= GTK+ clone of "Color Lines"
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --without-included-gettext
|
||||
CONFIGURE_ARGS+= --localstatedir=${VARBASE}/games
|
||||
|
@ -24,7 +26,7 @@ CONF_FILES_PERMS+= /dev/null ${VARBASE}/games/gtkballs-scores \
|
|||
${GAMEOWN} ${GAMEGRP} ${GAMEDATAMODE}
|
||||
|
||||
post-install:
|
||||
mv ${PREFIX}/${PKGMANDIR}/man6/gtkballs.6x ${PREFIX}/${PKGMANDIR}/man6/gtkballs.6
|
||||
mv ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/gtkballs.6x ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/gtkballs.6
|
||||
|
||||
.include "../../devel/gettext-lib/buildlink3.mk"
|
||||
.include "../../x11/gtk2/buildlink3.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.15 2008/01/19 09:16:21 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.16 2010/01/29 23:10:38 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= icbm3d.0.4
|
||||
|
@ -11,6 +11,10 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
HOMEPAGE= http://www.newbreedsoftware.com/icbm3d/
|
||||
COMMENT= 3D X11 game of defense
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
INSTALLATION_DIRS+= bin
|
||||
|
||||
WRKSRC= ${WRKDIR}/icbm3d
|
||||
MAKE_FILE= makefile
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.5 2005/02/23 23:11:59 agc Exp $
|
||||
$NetBSD: distinfo,v 1.6 2010/01/29 23:10:38 joerg Exp $
|
||||
|
||||
SHA1 (icbm3d.0.4.tar.gz) = 9eee30aa562e15cdc08f1bf354fa6d2e7bf7fd38
|
||||
RMD160 (icbm3d.0.4.tar.gz) = 1acdc2e394168eea111dcbc612253b9d4b1a202a
|
||||
Size (icbm3d.0.4.tar.gz) = 31187 bytes
|
||||
SHA1 (patch-aa) = 8123064a7bf39e3d91a597b81086697fb5ddf492
|
||||
SHA1 (patch-aa) = 1c466a7fc98586891f0fb8c004866934c1f499d9
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-aa,v 1.5 2004/06/15 13:14:46 grant Exp $
|
||||
$NetBSD: patch-aa,v 1.6 2010/01/29 23:10:38 joerg Exp $
|
||||
|
||||
--- makefile.orig 1998-07-31 14:41:20.000000000 +1000
|
||||
+++ makefile
|
||||
|
@ -29,9 +29,9 @@ $NetBSD: patch-aa,v 1.5 2004/06/15 13:14:46 grant Exp $
|
|||
- - cp icbm3d $(INSTALLROOT)/icbm3d
|
||||
+
|
||||
+install: icbm3d
|
||||
+ $(BSD_INSTALL_PROGRAM) icbm3d $(PREFIX)/bin
|
||||
+ $(BSD_INSTALL_MAN_DIR) $(PREFIX)/share/doc/icbm3d
|
||||
+ $(BSD_INSTALL_MAN) README.txt $(PREFIX)/share/doc/icbm3d/
|
||||
+ $(BSD_INSTALL_PROGRAM) icbm3d ${DESTDIR}$(PREFIX)/bin
|
||||
+ $(BSD_INSTALL_MAN_DIR) ${DESTDIR}$(PREFIX)/share/doc/icbm3d
|
||||
+ $(BSD_INSTALL_MAN) README.txt ${DESTDIR}$(PREFIX)/share/doc/icbm3d/
|
||||
|
||||
clean:
|
||||
- rm *.o icbm3d language.h
|
||||
|
|
Loading…
Reference in a new issue