aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/togl/Makefile
blob: 5238a0a229e4d9c788f8a81b6d8f38cd18a1e2ac (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
# New ports collection makefile for:    Togl
# Version required: 1.5
# Date created:     Wed Aug 18 18:49:17 EDT 1999
# Whom:         Randall Hopper <aa8vb@ipass.net>
#
# $FreeBSD$
#

DISTNAME=   Togl-1.5
PKGNAME=    togl-1.5
CATEGORIES= graphics tk80
MASTER_SITES=   ftp://ftp.mesa3d.org/mesa/misc/ \
        ftp://ftp.cs.umd.edu/pub/faculty/bederson/

MAINTAINER= aa8vb@ipass.net

LIB_DEPENDS=    tk80.1:${PORTSDIR}/x11-toolkits/tk80 \
        tcl80.1:${PORTSDIR}/lang/tcl80 \
        MesaGL.14:${PORTSDIR}/graphics/Mesa3

ALL_TARGET= default

TOGL_INSTDIR=   ${PREFIX}/lib/tk8.0/${DISTNAME}

.include <bsd.port.pre.mk>

do-install:
    ${MKDIR} ${TOGL_INSTDIR}
    ${INSTALL_DATA} ${WRKSRC}/libtogl.so.1.3 ${TOGL_INSTDIR}/Togl.so
    ${ECHO} 'package ifneeded Togl 1.5 [list load [file join $$dir Togl.so]]'\
      > ${PREFIX}/lib/tk8.0/${DISTNAME}/pkgIndex.tcl

.include <bsd.port.post.mk>