2012-10-06 13:54:29 +02:00
|
|
|
# $NetBSD: Makefile,v 1.10 2012/10/06 11:54:31 asau Exp $
|
2006-01-31 03:47:25 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= BillardGL-1.75
|
|
|
|
PKGNAME= ${DISTNAME:S/BillardGL/billardgl/}
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2006-01-31 03:47:25 +01:00
|
|
|
CATEGORIES= games
|
2008-07-07 06:01:30 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=billardgl/}
|
2006-01-31 03:47:25 +01:00
|
|
|
|
|
|
|
MAINTAINER= wojtek@3miasto.net
|
|
|
|
HOMEPAGE= http://www.tobias-nopper.de/BillardGL/
|
|
|
|
COMMENT= 3D Billard using OpenGL hardware acceleration
|
|
|
|
|
|
|
|
BUILD_DIRS= src
|
2006-05-18 20:16:06 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2008-05-26 04:13:14 +02:00
|
|
|
USE_TOOLS+= gmake imake pax
|
2006-01-31 03:47:25 +01:00
|
|
|
MAKE_ENV+= PAX=${PAX:Q}
|
2006-02-12 08:19:31 +01:00
|
|
|
LDFLAGS+= ${X11_LDFLAGS}
|
2006-01-31 03:47:25 +01:00
|
|
|
|
|
|
|
SUBST_CLASSES+= billardgl
|
|
|
|
SUBST_STAGE.billardgl= do-configure
|
|
|
|
SUBST_MESSAGE.billardgl= Fixing hard-coded paths
|
|
|
|
SUBST_FILES.billardgl= src/Namen.h
|
|
|
|
SUBST_SED.billardgl= -e 's,"/usr/share/,"${PREFIX}/share/,'
|
|
|
|
|
2006-05-18 20:16:06 +02:00
|
|
|
SUBST_CLASSES+= d2u
|
|
|
|
SUBST_STAGE.d2u= post-extract
|
|
|
|
SUBST_MESSAGE.d2u= Removing CR end-of-line markers.
|
|
|
|
SUBST_FILES.d2u= src/*.h src/*.cpp
|
|
|
|
SUBST_FILTER_CMD.d2u= ${TR} -d '\r'
|
|
|
|
|
2008-06-20 03:09:05 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2006-01-31 03:47:25 +01:00
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
|
|
.include "../../graphics/glu/buildlink3.mk"
|
|
|
|
.include "../../graphics/glut/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|