aboutsummaryrefslogtreecommitdiffstats
path: root/devel/glui/Makefile
blob: 1ce24ead188e02601bf064801cd26e9c9ddb79ba (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=   4
CATEGORIES= devel graphics
MASTER_SITES=   SF/${PORTNAME}/Source/${PORTVERSION}

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

USES=       gmake tar:tgz
USE_GL=     glut
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=   *

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_DATA} ${WRKSRC}/include/GL/glui.h ${STAGEDIR}${PREFIX}/include
    ${INSTALL_DATA} ${WRKSRC}/lib/libglui.a ${STAGEDIR}${PREFIX}/lib
    ${INSTALL_LIB} ${WRKSRC}/lib/libglui.so \
        ${STAGEDIR}${PREFIX}/lib/libglui.so.0
    ${LN} -s libglui.so.0 ${STAGEDIR}${PREFIX}/lib/libglui.so
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/glui_manual.pdf ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>