aboutsummaryrefslogtreecommitdiff
path: root/devel/glui/Makefile
blob: 630e6064859e034a57dcf769163a3c8ade4f08a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: mwest@uct.ac.za
# $FreeBSD$

PORTNAME=	glui
PORTVERSION=	2.36
PORTREVISION=	1
CATEGORIES=	devel graphics
MASTER_SITES=	SF/${PORTNAME}/Source/${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	GLUT-based C++ user interface library

USE_GL=		glut
USE_GMAKE=	yes
USE_XORG=	xmu xext x11 xi
USE_LDCONFIG=	yes
MAKEFILE=	makefile

WRKSRC=		${WRKDIR}/${DISTNAME}/src

PLIST_FILES=	include/glui.h lib/libglui.a lib/libglui.so lib/libglui.so.0
PORTDOCS=	*

NO_STAGE=	yes
do-install:
	${INSTALL_DATA} ${WRKSRC}/include/GL/glui.h ${PREFIX}/include/
	${INSTALL_DATA} ${WRKSRC}/lib/libglui.a ${PREFIX}/lib/
	${INSTALL_DATA} ${WRKSRC}/lib/libglui.so ${PREFIX}/lib/libglui.so.0
	${LN} -s libglui.so.0 ${PREFIX}/lib/libglui.so
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/glui_manual.pdf ${DOCSDIR}/
.endif

.include <bsd.port.mk>