save one complete copy of the data by extracting the distfile directly
into the fake directory; inspired by naddy@'s patch for ufoai. ok naddy@
This commit is contained in:
parent
ff1482f17d
commit
d4e79fbd95
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: Makefile,v 1.4 2013/08/14 20:15:40 kirby Exp $
|
# $OpenBSD: Makefile,v 1.5 2013/12/19 15:13:13 kirby Exp $
|
||||||
|
|
||||||
# useless without naev, which can only be built on shared lib arches
|
# useless without naev, which can only be built on shared lib arches
|
||||||
# due to dependency on lua. saves a useless 250MB package on !shared arch.
|
# due to dependency on lua. saves a useless 250MB package on !shared arch.
|
||||||
@ -10,17 +10,14 @@ DISTNAME = ndata-${VERSION}
|
|||||||
PKGNAME = naev-data-${VERSION}
|
PKGNAME = naev-data-${VERSION}
|
||||||
|
|
||||||
EXTRACT_SUFX = #
|
EXTRACT_SUFX = #
|
||||||
|
EXTRACT_ONLY = #
|
||||||
|
|
||||||
NO_BUILD = Yes
|
NO_BUILD = Yes
|
||||||
PKG_ARCH = *
|
PKG_ARCH = *
|
||||||
NO_TEST = Yes
|
NO_TEST = Yes
|
||||||
|
|
||||||
do-extract:
|
|
||||||
${INSTALL_DATA_DIR} ${WRKSRC}
|
|
||||||
cp ${FULLDISTDIR}/${DISTNAME} ${WRKSRC}
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_DATA_DIR} ${PREFIX}/share/naev
|
${INSTALL_DATA_DIR} ${PREFIX}/share/naev
|
||||||
${INSTALL_DATA} ${WRKSRC}/${DISTNAME} ${PREFIX}/share/naev/ndata
|
${INSTALL_DATA} ${FULLDISTDIR}/${DISTNAME} ${PREFIX}/share/naev/ndata
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user