Add destdir support.
This commit is contained in:
parent
c7428f687c
commit
6f3e6511ce
1 changed files with 6 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.15 2009/08/26 19:57:26 sno Exp $
|
||||
# $NetBSD: Makefile,v 1.16 2010/05/29 16:28:17 dillo Exp $
|
||||
#
|
||||
|
||||
DISTNAME= gens-rc3
|
||||
|
@ -16,15 +16,18 @@ BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
|
|||
# contains i386 assembler sources
|
||||
ONLY_FOR_PLATFORM= *-*-i386
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
WRKSRC= ${WRKDIR}/GensForLinux
|
||||
GNU_CONFIGURE= yes
|
||||
USE_TOOLS+= gmake pkg-config
|
||||
|
||||
INSTALLATION_DIRS+= share/doc/gens
|
||||
|
||||
.include "../../devel/SDL/buildlink3.mk"
|
||||
.include "../../x11/gtk2/buildlink3.mk"
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gens
|
||||
${INSTALL_DATA} ${WRKSRC}/gens.txt ${PREFIX}/share/doc/gens
|
||||
${INSTALL_DATA} ${WRKSRC}/gens.txt ${DESTDIR}${PREFIX}/share/doc/gens
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
Loading…
Reference in a new issue