aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/flu/Makefile
blob: 3f633b77cf074f6561e8bcfdea7cb2a8017db25d (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
# New ports collection makefile for:    flu
# Date created:             07 Apr 2006
# Whom:                 Jean-Yves Lefort <jylefort@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   flu
PORTVERSION=    2.14
PORTREVISION=   3
CATEGORIES= x11-toolkits
MASTER_SITES=   http://www.osc.edu/~jbryan/FLU/
DISTNAME=   FLU_${PORTVERSION}

MAINTAINER= jylefort@FreeBSD.org
COMMENT=    A library containing extra widgets for FLTK

LIB_DEPENDS=    fltk:${PORTSDIR}/x11-toolkits/fltk

USE_GL=     yes
USE_LDCONFIG=   yes
HAS_CONFIGURE=  yes
CONFIGURE_ARGS= --prefix=${PREFIX} --I=${X11BASE}/include --L=${X11BASE}/lib
USE_GMAKE=  yes
PORTDOCS=   *

SHLIB_VERSION=  0
PLIST_SUB=  SHLIB_VERSION="${SHLIB_VERSION}"
MAKE_ENV=   SHLIB_VERSION="${SHLIB_VERSION}"

post-patch:
    @${RM} -rf ${WRKSRC}/doc/CVS

post-install:
    ${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/examples/*.cpp ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=     Does not compile with GCC 4.2
.endif

.include <bsd.port.post.mk>