pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/fna
Module Name: pkgsrc
Committed By: tnn
Date: Sun May 15 13:41:11 UTC 2022
Modified Files:
pkgsrc/games/fna: Makefile
Log Message:
fna: rename some directories in post-extract instead of symlinking
xbuild does not seem to much like symlinks. It produced a package now.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/games/fna/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/fna/Makefile
diff -u pkgsrc/games/fna/Makefile:1.8 pkgsrc/games/fna/Makefile:1.9
--- pkgsrc/games/fna/Makefile:1.8 Sun May 15 12:17:49 2022
+++ pkgsrc/games/fna/Makefile Sun May 15 13:41:11 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2022/05/15 12:17:49 tnn Exp $
+# $NetBSD: Makefile,v 1.9 2022/05/15 13:41:11 tnn Exp $
DISTNAME= FNA-22.05
PKGNAME= ${DISTNAME:tl}
@@ -23,13 +23,15 @@ SITES.${NETSTUB}+= ${MASTER_SITE_GITHUB:
USE_LANGUAGES= # none
+WRKSRC= ${WRKDIR}/FNA
+
post-extract:
- ${LN} -sf ${WRKDIR}/FNA.NetStub-${NETSTUB:S/${EXTRACT_SUFX}//} ${WRKDIR}/FNA.NetStub
- ${LN} -sf ${WRKDIR}/${GITHUB_PROJECT}-${DISTNAME} ${WRKDIR}/FNA
+ ${MV} ${WRKDIR}/FNA-${PKGVERSION_NOREV} ${WRKDIR}/FNA
+ ${MV} ${WRKDIR}/FNA.NetStub-${NETSTUB:S/${EXTRACT_SUFX}//} ${WRKDIR}/FNA.NetStub
${RM} -r ${WRKSRC}/lib/FAudio ${WRKSRC}/lib/Theorafile ${WRKSRC}/lib/SDL2-CS
- ${LN} -sf ${WRKDIR}/FAudio-${FAUDIO:S/${EXTRACT_SUFX}//} ${WRKSRC}/lib/FAudio
- ${LN} -sf ${WRKDIR}/Theorafile-${THEORAFILE:S/${EXTRACT_SUFX}//} ${WRKSRC}/lib/Theorafile
- ${LN} -sf ${WRKDIR}/SDL2-CS-${SDL2_CS:S/${EXTRACT_SUFX}//} ${WRKSRC}/lib/SDL2-CS
+ ${MV} ${WRKDIR}/FAudio-${FAUDIO:S/${EXTRACT_SUFX}//} ${WRKSRC}/lib/FAudio
+ ${MV} ${WRKDIR}/Theorafile-${THEORAFILE:S/${EXTRACT_SUFX}//} ${WRKSRC}/lib/Theorafile
+ ${MV} ${WRKDIR}/SDL2-CS-${SDL2_CS:S/${EXTRACT_SUFX}//} ${WRKSRC}/lib/SDL2-CS
# need to rm bin,obj before FNA.sln to build with FNA.Settings.props
do-build:
Home |
Main Index |
Thread Index |
Old Index