2001-10-17 18:27:14 +00:00
|
|
|
# New ports collection makefile for: glui
|
|
|
|
# Date created: 25 September 2001
|
|
|
|
# Whom: mwest@uct.ac.za
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= glui
|
|
|
|
PORTVERSION= 2.1
|
2006-01-12 12:54:32 +00:00
|
|
|
PORTREVISION= 2
|
2001-10-17 18:27:14 +00:00
|
|
|
CATEGORIES= devel graphics
|
2003-08-08 09:17:25 +00:00
|
|
|
MASTER_SITES= http://www.cs.unc.edu/~rademach/glui/src/release/
|
2001-10-17 18:27:14 +00:00
|
|
|
DISTNAME= glui_v2_1_beta
|
|
|
|
|
2004-02-22 02:09:15 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 11:23:04 +00:00
|
|
|
COMMENT= GLUT-based C++ user interface library
|
2001-10-17 18:27:14 +00:00
|
|
|
|
2006-01-12 12:54:32 +00:00
|
|
|
LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut
|
2001-10-17 18:27:14 +00:00
|
|
|
|
2005-02-20 20:44:36 +00:00
|
|
|
USE_GL= yes
|
2001-10-17 18:27:14 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKEFILE= makefile
|
|
|
|
ALL_TARGET= # empty
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
|
|
|
|
post-patch:
|
2003-11-15 20:37:04 +00:00
|
|
|
@${REINPLACE_CMD} -e 's:/unc/walk/lib/sgi_irix:${PREFIX}/lib:g; \
|
|
|
|
s:/unc/walk/include:${PREFIX}/include:g; \
|
|
|
|
s:^CFLAGS:#&:; s:^CC=:CC?=gcc #:; \
|
|
|
|
s:^libs =:&${PTHREAD_LIBS}:' ${WRKSRC}/makefile
|
2001-10-17 18:27:14 +00:00
|
|
|
@${MKDIR} ${WRKSRC}/lib ${WRKSRC}/bin
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/glui.h ${PREFIX}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/libglui.a ${PREFIX}/lib
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/glui
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/glui_manual.pdf ${PREFIX}/share/doc/glui
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|