1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/games/billardgl/Makefile
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +00:00

52 lines
1.2 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= billardgl
PORTVERSION= 1.75
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/BillardGL%20${PORTVERSION}
DISTNAME= BillardGL-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= OpenGL pool billiard simulation
LICENSE= GPLv2 # from website
WRKSRC_SUBDIR= src
USES= dos2unix gl xorg
DOS2UNIX_FILES= Makefile bmp.cpp
USE_GL= gl glu glut
USE_XORG= x11 xext xmu xi
USE_CXXSTD= c++98
PORTDOCS= README
PORTDATA= *
PLIST_FILES= bin/billardgl \
share/pixmaps/billardgl.bmp
DESKTOP_ENTRIES="${PORTNAME}" \
"" \
"${PREFIX}/share/pixmaps/${PORTNAME}.bmp" \
"${PORTNAME}" \
"Game;Simulation;" \
""
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/BillardGL/|${DATADIR}/|' ${WRKSRC}/Namen.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/BillardGL ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "Texturen lang" ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/Texturen/1/dreizehn.bmp ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.bmp
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>