pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games/ufoai



Module Name:    pkgsrc
Committed By:   rillig
Date:           Mon Dec 18 22:29:43 UTC 2023

Modified Files:
        pkgsrc/games/ufoai: Makefile

Log Message:
games/ufoai: fix stray DESTDIR in binaries


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 pkgsrc/games/ufoai/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/ufoai/Makefile
diff -u pkgsrc/games/ufoai/Makefile:1.50 pkgsrc/games/ufoai/Makefile:1.51
--- pkgsrc/games/ufoai/Makefile:1.50    Sun Nov 12 13:21:44 2023
+++ pkgsrc/games/ufoai/Makefile Mon Dec 18 22:29:43 2023
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.50 2023/11/12 13:21:44 wiz Exp $
+# $NetBSD: Makefile,v 1.51 2023/12/18 22:29:43 rillig Exp $
 
 DISTNAME=              ufoai-2.2.1
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=ufoai/}
-PKGREVISION=           40
+PKGREVISION=           41
 CATEGORIES=            games
 
 DISTFILES=     ${DISTNAME}-source.tar.bz2
@@ -24,6 +24,12 @@ INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${
 
 CHECK_INTERPRETER_SKIP+=       share/ufoai/base/maps/*
 
+SUBST_CLASSES+=                        rm-destdir
+SUBST_STAGE.rm-destdir=                post-install
+SUBST_FILES.rm-destdir=                ${DESTDIR}${PREFIX}/bin/ufo
+SUBST_FILES.rm-destdir+=       ${DESTDIR}${PREFIX}/bin/ufoded
+SUBST_SED.rm-destdir=          -e 's,cd ${DESTDIR}/,cd /,'
+
 do-extract:
        cd ${WRKDIR} && ${BZIP2} -d -c ${DISTDIR}/${DISTNAME}-source.tar.bz2 | ${TAR} -xf -
 



Home | Main Index | Thread Index | Old Index