freebsd-ports/x11-toolkits/fltk/Makefile

50 lines
1.1 KiB
Makefile
Raw Normal View History

# 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$
#
PORTNAME= fltk
PORTVERSION= 1.1.10
PORTREVISION= 1
1999-04-09 21:26:49 +02:00
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_EASYSW}
MASTER_SITE_SUBDIR= fltk/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
MAINTAINER= gahr@FreeBSD.org
COMMENT= Cross-platform C++ graphical user interface toolkit
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
USE_BZIP2= yes
USE_LDCONFIG= yes
USE_XORG= xft
USE_GL= gl glu
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-threads \
--enable-shared \
--enable-xft
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= fltk-config.1 fluid.1
MAN3= fltk.3
2010-04-29 14:42:01 +02:00
post-patch:
${REINPLACE_CMD} -e '30s/test //' ${WRKSRC}/Makefile
.if !defined(NOPORTDOCS)
PORTDOCS= *
post-install:
2010-04-29 14:42:01 +02:00
cd ${WRKSRC}/documentation && ${MAKE} docinstall
cd ${WRKSRC}/test && ${MAKE} install
.endif
.include <bsd.port.mk>