1999-03-08 00:52:56 +01:00
|
|
|
# New ports collection makefile for: fltk
|
|
|
|
# Date created: 11 February 1999
|
|
|
|
# Whom: Dima Sivachenko <dima@Chg.RU>
|
|
|
|
#
|
1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
1999-03-08 00:52:56 +01:00
|
|
|
#
|
|
|
|
|
2000-04-10 03:11:24 +02:00
|
|
|
PORTNAME= fltk
|
2010-03-23 22:06:53 +01:00
|
|
|
PORTVERSION= 1.1.10
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 1
|
1999-04-09 21:26:49 +02:00
|
|
|
CATEGORIES= x11-toolkits
|
2007-02-01 13:02:46 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_EASYSW}
|
2008-08-28 08:52:26 +02:00
|
|
|
MASTER_SITE_SUBDIR= fltk/${PORTVERSION}
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
|
1999-03-08 00:52:56 +01:00
|
|
|
|
2008-08-28 08:52:26 +02:00
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
|
|
COMMENT= Cross-platform C++ graphical user interface toolkit
|
1999-03-08 00:52:56 +01:00
|
|
|
|
2010-03-28 08:47:48 +02:00
|
|
|
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
|
2010-02-05 12:46:55 +01:00
|
|
|
jpeg.11:${PORTSDIR}/graphics/jpeg
|
2003-01-05 17:07:11 +01:00
|
|
|
|
1999-04-16 08:15:10 +02:00
|
|
|
USE_BZIP2= yes
|
2007-02-01 13:02:46 +01:00
|
|
|
USE_LDCONFIG= yes
|
2008-08-28 08:52:26 +02:00
|
|
|
USE_XORG= xft
|
2010-03-23 22:06:53 +01:00
|
|
|
USE_GL= gl glu
|
1999-03-08 00:52:56 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2010-03-23 22:06:53 +01:00
|
|
|
CONFIGURE_ARGS+=--enable-threads \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-xft
|
2008-08-28 08:52:26 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2010-03-23 22:06:53 +01:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
|
1999-03-08 00:52:56 +01:00
|
|
|
|
2010-03-23 22:06:53 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2005-02-07 22:16:05 +01:00
|
|
|
|
2010-03-23 22:06:53 +01:00
|
|
|
MAN1= fltk-config.1 fluid.1
|
|
|
|
MAN3= fltk.3
|
2003-09-05 15:40:43 +02:00
|
|
|
|
2010-04-29 14:42:01 +02:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e '30s/test //' ${WRKSRC}/Makefile
|
|
|
|
|
2010-03-23 22:06:53 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
post-install:
|
2010-04-29 14:42:01 +02:00
|
|
|
cd ${WRKSRC}/documentation && ${MAKE} docinstall
|
|
|
|
cd ${WRKSRC}/test && ${MAKE} install
|
2005-01-31 22:09:48 +01:00
|
|
|
.endif
|
|
|
|
|
2010-03-23 22:06:53 +01:00
|
|
|
.include <bsd.port.mk>
|