mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
3e4ed01146
- 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)
45 lines
1006 B
Makefile
45 lines
1006 B
Makefile
# New ports collection makefile for: BillardGL
|
|
# Date created: 02 Jan 2004
|
|
# Whom: Igor Pokrovsky <tiamat@comset.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= BillardGL
|
|
PORTVERSION= 1.75
|
|
PORTREVISION= 5
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF
|
|
MASTER_SITE_SUBDIR= billardgl
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= An OpenGL billiard simulator
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
|
|
|
USE_GMAKE= yes
|
|
USE_GL= gl glut
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%PORTNAME%%|${PORTNAME}|; \
|
|
s|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Namen.h
|
|
|
|
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>
|