Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2022 21:06:24 GMT
From:      =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= <fernape@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ccceb7dfeb5e - main - games/opengfx: Restore previous do-install target
Message-ID:  <202206102106.25AL6OA1018724@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ccceb7dfeb5e5232d51f54c05150560b9b94e26d

commit ccceb7dfeb5e5232d51f54c05150560b9b94e26d
Author:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
AuthorDate: 2022-06-10 21:00:35 +0000
Commit:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
CommitDate: 2022-06-10 21:04:01 +0000

    games/opengfx: Restore previous do-install target
    
    In 7a66a72bd431 a more verbose version of the do-install target was introduced.
    Restore the previous, more compact one.
    
    Reported by:    danfe@
    Fixes:  7a66a72bd431
---
 games/opengfx/Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/games/opengfx/Makefile b/games/opengfx/Makefile
index 5807ddc33fc4..b0cf6a4d9735 100644
--- a/games/opengfx/Makefile
+++ b/games/opengfx/Makefile
@@ -16,14 +16,14 @@ LICENSE_FILE=	${WRKSRC}/license.txt
 NO_ARCH=	yes
 NO_BUILD=	yes
 
+DATADIR=	${PREFIX}/share/openttd/baseset/${PORTNAME}
+
 post-extract:
 	@cd ${WRKDIR} && tar -xf ${PORTNAME}-${PORTVERSION}.tar
 
 do-install:
-	@${MKDIR} \
-		${STAGEDIR}${PREFIX}/share/openttd/baseset/${PORTNAME}
-	${INSTALL_DATA} \
-		${WRKSRC}/* \
-		${STAGEDIR}${PREFIX}/share/openttd/baseset/${PORTNAME}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${DATADIR}
+
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206102106.25AL6OA1018724>