Add DESTDIR to all the places that are missing it in xkobo's Imakefile.
Turn Fake on
This commit is contained in:
parent
d8a3efd858
commit
3b03b017f9
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2000/02/15 05:04:28 turan Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2000/03/05 15:54:48 espie Exp $
|
||||
|
||||
DISTNAME= xkobo-1.11
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_XCONTRIB} \
|
||||
ftp://ftp.uoknor.edu/mirrors/X/contrib/games/
|
||||
MASTER_SITE_SUBDIR= games
|
||||
NEED_VERSION=1.218
|
||||
|
||||
.if defined(HARDER)
|
||||
PATCH_LIST=patch-* extra-hard
|
||||
@ -14,12 +15,14 @@ PKGNAME=${DISTNAME}-harder
|
||||
MAINTAINER= espie@openbsd.org
|
||||
|
||||
LICENSE_TYPE= GPL
|
||||
PERMIT_PACKAGE_CDROM= YES
|
||||
PERMIT_PACKAGE_FTP= YES
|
||||
PERMIT_DISTFILES_CDROM= YES
|
||||
PERMIT_DISTFILES_FTP= YES
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
FAKE= Yes
|
||||
USE_IMAKE= Yes
|
||||
|
||||
USE_IMAKE= yes
|
||||
ALL_TARGET= xkobo
|
||||
|
||||
post-install:
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- Imakefile.orig Fri Jan 10 03:29:36 1997
|
||||
+++ Imakefile Tue Mar 23 13:48:15 1999
|
||||
@@ -6,7 +6,7 @@
|
||||
+++ Imakefile Sun Mar 5 16:06:52 2000
|
||||
@@ -6,7 +6,7 @@ WAIT_MSEC = 30
|
||||
SHIPS = 5
|
||||
|
||||
/* RECORDS */
|
||||
@ -9,7 +9,7 @@
|
||||
|
||||
/* C++ COMPILER */
|
||||
/* CXX = g++ */
|
||||
@@ -69,11 +69,11 @@
|
||||
@@ -69,15 +69,15 @@ xkp256.c: # xkp256.tif
|
||||
|
||||
#ifdef SECURE_SCOREFILES
|
||||
install::
|
||||
@ -18,11 +18,17 @@
|
||||
- chown $(XKOBO_ADMINISTER) $(BINDIR)/xkobo
|
||||
- chown -R $(XKOBO_ADMINISTER) $(HSCORE_DIR)
|
||||
- chmod 4755 $(BINDIR)/xkobo
|
||||
+ if [ -d $(HSCORE_DIR) ]; then chmod 575 $(HSCORE_DIR); \
|
||||
+ else mkdirhier $(HSCORE_DIR); chmod 575 $(HSCORE_DIR); fi
|
||||
+ chgrp $(XKOBO_ADMINISTER) $(BINDIR)/xkobo
|
||||
+ chgrp -R $(XKOBO_ADMINISTER) $(HSCORE_DIR)
|
||||
+ chmod 2755 $(BINDIR)/xkobo
|
||||
+ if [ -d $(DESTDIR)$(HSCORE_DIR) ]; then chmod 575 $(DESTDIR)$(HSCORE_DIR); \
|
||||
+ else mkdirhier $(DESTDIR)$(HSCORE_DIR); chmod 575 $(DESTDIR)$(HSCORE_DIR); fi
|
||||
+ chgrp $(XKOBO_ADMINISTER) $(DESTDIR)$(BINDIR)/xkobo
|
||||
+ chgrp -R $(XKOBO_ADMINISTER) $(DESTDIR)$(HSCORE_DIR)
|
||||
+ chmod 2755 $(DESTDIR)$(BINDIR)/xkobo
|
||||
#else /* SECURE_SCOREFILES */
|
||||
install::
|
||||
if [ -d $(HSCORE_DIR) ]; then chmod 777 $(HSCORE_DIR); \
|
||||
- if [ -d $(HSCORE_DIR) ]; then chmod 777 $(HSCORE_DIR); \
|
||||
- else mkdirhier $(HSCORE_DIR); chmod 777 $(HSCORE_DIR); fi
|
||||
+ if [ -d $(DESTDIR)$(HSCORE_DIR) ]; then chmod 777 $(DESTDIR)$(HSCORE_DIR); \
|
||||
+ else mkdirhier $(DESTDIR)$(HSCORE_DIR); chmod 777 $(DESTDIR)$(HSCORE_DIR); fi
|
||||
#endif /* SECURE_SCOREFILES */
|
||||
|
||||
clean::
|
||||
|
Loading…
Reference in New Issue
Block a user