aboutsummaryrefslogtreecommitdiffstats
path: root/devel/glui/Makefile
blob: 7f63a74ed950ab20c0dd68f46bff719049901c7c (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
37
38
# New ports collection makefile for:    glui
# Date created:     25 September 2001
# Whom:         mwest@uct.ac.za
#
# $FreeBSD$
#

PORTNAME=   glui
PORTVERSION=    2.36
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=   *

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>