diff options
author | tnn <tnn@pkgsrc.org> | 2022-05-15 13:41:11 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2022-05-15 13:41:11 +0000 |
commit | d04eef95b37b54e0eda74210e302cfcd5f291244 (patch) | |
tree | 825769fa9643ecfbb9dd899e8e6b68260c56524a /games/fna | |
parent | 9a3607317e3cc4adc73726cb2f15fff67b9d406d (diff) | |
download | pkgsrc-d04eef95b37b54e0eda74210e302cfcd5f291244.tar.gz |
fna: rename some directories in post-extract instead of symlinking
xbuild does not seem to much like symlinks. It produced a package now.
Diffstat (limited to 'games/fna')
-rw-r--r-- | games/fna/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/games/fna/Makefile b/games/fna/Makefile index 13193b52d57..4b5b8957374 100644 --- a/games/fna/Makefile +++ b/games/fna/Makefile @@ -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:=FNA-XNA/}FNA.NetStub/archive/ 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: |