Support staging

This commit is contained in:
Emanuel Haupt 2014-02-27 15:42:46 +00:00
parent f863ba969e
commit 0d9a4ba2ea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346374

View File

@ -5,25 +5,22 @@ PORTNAME= bbjd
PORTVERSION= 1.01
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITES= SUNSITE
MASTER_SITE_SUBDIR= games/strategy
MAINTAINER= demon@FreeBSD.org
COMMENT= Beat the blackjack dealer
USE_GMAKE= yes
USES= gmake
WRKSRC= ${WRKDIR}/bbjd
NO_STAGE= yes
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/bbjd ${PREFIX}/bin/
@ ${INSTALL_PROGRAM} ${WRKSRC}/simbj ${PREFIX}/bin/
@ ${MKDIR} ${PREFIX}/share/bbjd
@ ${INSTALL_DATA} ${WRKSRC}/Interactive ${PREFIX}/share/bbjd/
@ ${INSTALL_DATA} ${WRKSRC}/Simulation ${PREFIX}/share/bbjd/
@ ${INSTALL_DATA} ${WRKSRC}/Theory ${PREFIX}/share/bbjd/
post-install:
@ ${CAT} ${PKGMESSAGE}
${INSTALL_PROGRAM} ${WRKSRC}/bbjd ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/simbj ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bbjd
${INSTALL_DATA} ${WRKSRC}/Interactive ${STAGEDIR}${PREFIX}/share/bbjd
${INSTALL_DATA} ${WRKSRC}/Simulation ${STAGEDIR}${PREFIX}/share/bbjd
${INSTALL_DATA} ${WRKSRC}/Theory ${STAGEDIR}${PREFIX}/share/bbjd
.include <bsd.port.mk>