- Add stage support
- Add DOCS option - Add LICENSE
This commit is contained in:
parent
dcc70ab71a
commit
e3445fa92c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332030
1 changed files with 10 additions and 10 deletions
|
@ -11,12 +11,15 @@ DISTNAME= ${PORTNAME}-099-pre22
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Another billiards simulator
|
COMMENT= Another billiards simulator
|
||||||
|
|
||||||
|
LICENSE= GPLv2
|
||||||
|
|
||||||
USE_SDL= sdl
|
USE_SDL= sdl
|
||||||
USE_GL= gl
|
USE_GL= gl
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
PORTDOCS= ApoolGL.txt CHANGELOG OpenGL-Features
|
PORTDOCS= ApoolGL.txt CHANGELOG OpenGL-Features
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e "s|`${PRINTF} '\r'`$$||" ${WRKSRC}/ApoolGL.txt
|
@${REINPLACE_CMD} -e "s|`${PRINTF} '\r'`$$||" ${WRKSRC}/ApoolGL.txt
|
||||||
@${REINPLACE_CMD} -e 's|SDL/||' ${WRKSRC}/*.c
|
@${REINPLACE_CMD} -e 's|SDL/||' ${WRKSRC}/*.c
|
||||||
|
@ -28,16 +31,13 @@ do-build:
|
||||||
-o ${WRKSRC}/apool ${WRKSRC}/*.c
|
-o ${WRKSRC}/apool ${WRKSRC}/*.c
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/apool ${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/apool ${STAGEDIR}${PREFIX}/bin
|
||||||
.for i in hi lo med
|
.for i in hi lo med
|
||||||
${MKDIR} ${DATADIR}/textures-${i}
|
@${MKDIR} ${STAGEDIR}${DATADIR}/textures-${i}
|
||||||
${INSTALL_DATA} ${WRKSRC}/textures-${i}/*.bmp ${DATADIR}/textures-${i}
|
${INSTALL_DATA} ${WRKSRC}/textures-${i}/*.bmp ${STAGEDIR}${DATADIR}/textures-${i}
|
||||||
.endfor
|
.endfor
|
||||||
${INSTALL_DATA} ${WRKSRC}/*.dat ${DATADIR}
|
${INSTALL_DATA} ${WRKSRC}/*.dat ${STAGEDIR}${DATADIR}
|
||||||
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
.ifndef (NOPORTDOCS)
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||||
${MKDIR} ${DOCSDIR}
|
|
||||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Reference in a new issue