2004-01-07 08:44:10 +00:00
|
|
|
# New ports collection makefile for: BillardGL
|
|
|
|
# Date created: 02 Jan 2004
|
|
|
|
# Whom: Igor Pokrovsky <tiamat@comset.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= BillardGL
|
|
|
|
PORTVERSION= 1.75
|
2009-01-23 16:28:36 +00:00
|
|
|
PORTREVISION= 6
|
2004-01-07 08:44:10 +00:00
|
|
|
CATEGORIES= games
|
2009-08-22 00:23:13 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}/${PORTNAME}%20${PORTVERSION}
|
2004-01-07 08:44:10 +00:00
|
|
|
|
2006-07-22 04:28:27 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-01-07 08:44:10 +00:00
|
|
|
COMMENT= An OpenGL billiard simulator
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_GL= gl glut
|
2004-01-07 08:44:10 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|%%PORTNAME%%|${PORTNAME}|; \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
s|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Namen.h
|
2004-01-07 08:44:10 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
@${MKDIR} ${DATADIR}/lang
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lang/*.lang ${DATADIR}/lang
|
|
|
|
@${MKDIR} ${DATADIR}/Texturen
|
|
|
|
.for i in 1 2 4 8
|
|
|
|
@${MKDIR} ${DATADIR}/Texturen/${i}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Texturen/${i}/*.bmp ${DATADIR}/Texturen/${i}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.ifndef (NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${TR} -d '\r' <${WRKSRC}/README >${DOCSDIR}/README
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|