aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/inti-gl/Makefile
blob: 6369d018715c2edae7e36ba75a8439f3f9c4fc3f (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
39
40
41
42
43
44
45
46
47
48
# ex:ts=8
# Ports collection makefile for:    intk-gl
# Date created:         Mar 19, 2004
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   inti-gl
PORTVERSION=    0.9
PORTREVISION=   3
CATEGORIES= x11-toolkits
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= inti

MAINTAINER= ports@FreeBSD.org
COMMENT=    An Inti binding for GtkGLExt, the Open-GL extension to GTK+

LIB_DEPENDS=    inti-1.0.9:${PORTSDIR}/x11-toolkits/inti \
        gtkglext-x11-1.0.2:${PORTSDIR}/x11-toolkits/gtkglext

BROKEN=     Incomplete pkg-plist

USE_GL=     yes
USE_GNOME=  gnomehack gnomeprefix
GNU_CONFIGURE=  yes
INSTALLS_SHLIB= yes

.if !defined(NOPORTDOCS)
PORTDOCS=   *
.endif

post-configure:
    @${TOUCH} ${WRKSRC}/inti-gl-config.h.in

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${DOCSDIR}
    @${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
    @${MKDIR} ${EXAMPLESDIR}
    @${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
    @${FIND} ${EXAMPLESDIR} -type f | \
        ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
    @${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \
        ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.endif

.include <bsd.port.mk>
span> * - Update WWWpav2004-07-301-1/+1