339b17c210
BillardGL is an OpenGL pool billiard simulation, which was developed within the scope of our course "Computergraphics" at the University of Freiburg (Germany). BillardGL is puplished under the GPL and is available for download for Windows and Linux. WWW: http://www.billardgl.de/index-en.html
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= billardgl
|
|
PORTVERSION= 1.75
|
|
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
|
|
DOS2UNIX_FILES= Makefile bmp.cpp
|
|
USE_GL= gl glu glut
|
|
USE_XORG= x11 xext xmu xi
|
|
|
|
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>
|