diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-01-07 08:44:10 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-01-07 08:44:10 +0000 |
commit | 046c7d98be0b931585d10825376f97a2d927b37b (patch) | |
tree | 35a73a3ed2cdf67e9750aacc50270307dbcd2fd2 /games/BillardGL/Makefile | |
parent | 4b2011d1b2032c189b55c0fe1822be4deff16785 (diff) | |
download | ports-046c7d98be0b931585d10825376f97a2d927b37b.tar.gz ports-046c7d98be0b931585d10825376f97a2d927b37b.zip |
Notes
Diffstat (limited to 'games/BillardGL/Makefile')
-rw-r--r-- | games/BillardGL/Makefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/games/BillardGL/Makefile b/games/BillardGL/Makefile new file mode 100644 index 000000000000..a9d0ff7d76cc --- /dev/null +++ b/games/BillardGL/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: BillardGL +# Date created: 02 Jan 2004 +# Whom: Igor Pokrovsky <tiamat@comset.net> +# +# $FreeBSD$ +# + +PORTNAME= BillardGL +PORTVERSION= 1.75 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= billardgl + +MAINTAINER= tiamat@comset.net +COMMENT= An OpenGL billiard simulator + +LIB_DEPENDS= glut.3:${PORTSDIR}/graphics/libglut + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src + +USE_GMAKE= yes +USE_REINPLACE= yes +USE_X_PREFIX= yes +USE_GL= yes + +post-patch: + @${REINPLACE_CMD} -e 's|%%PORTNAME%%|${PORTNAME}|; \ + s|%%X11BASE%%|${X11BASE}|' ${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> |