mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
e6a5758a41
* New feature in FXHeader control: auto-renumbering captions based on renumbering function; if a renumbering function (which computes the caption from the caption index) is set, then captions are automatically recomputed when the number of items in the FXHeader is changed. * Updated FXTable to use this new feature in FXHeader. The old options for renumbering have been removed. * Porting problem in FXMat4d, FXMat4f fixed, for CYGWIN32. * Added API's to FXTable to return first and last row (or column) of a spanning cell. * Added API to check if a cell is horizontally spanning or vertically spanning. * Cutoff angles in FXQuatd are smaller than in FXQuatf, due to much greater precision of doubles versus floats. * FOX on Raspberry Pi coming soon (I got one on order!). * Added FXRandom fast, long-period, thread-safe psuedo-random number generator. * Gamma-corrected image scaling option added. * FXPath::relative() corner-cases fixed. * FXPath::isHidden() now faster by scanning backward. * Adie syntax highlight algorithm had some possible issues. * Now expand context when incrementally recoloring. * Include glext.h on Windows; missing symbol otherwise. * Updated list of C++ keywords in Adie.stx style coloring file. * Added enable/disable item API's to FXComboBox, FXListBox, FXTreeListBox. * Added expression evaluate feature to Adie text editor. * Internal anynymous name spaces introduced in FXExpression and FXRex due to symbol clashes on some compilers. * Added ?: alternative expression to FXExpression. * Array indexing problem fixed in FXFont. * Typo fixed in FXAtomic.cpp. - Use new OPTIONS framework
82 lines
1.7 KiB
Makefile
82 lines
1.7 KiB
Makefile
# New ports collection Makefile for: fox17
|
|
# Date created: 23 August 2010
|
|
# Whom: gahr
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fox
|
|
PORTVERSION= 1.7.35
|
|
CATEGORIES= x11-toolkits
|
|
MASTER_SITES= http://ftp.fox-toolkit.org/pub/ \
|
|
ftp://ftp.fox-toolkit.org/pub/
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= Fast and extensive C++ GUI toolkit -- devel version
|
|
|
|
LIB_DEPENDS= Xft:${PORTSDIR}/x11-fonts/libXft
|
|
|
|
CONFLICTS= fox-1.4.* fox-1.6.*
|
|
|
|
OPTIONS_DEFINE= JPEG PNG TIFF WEBP
|
|
OPTIONS_DEFAULT=JPEG PNG TIFF WEBP
|
|
|
|
LATEST_LINK= fox17
|
|
|
|
MAJORVER= ${PORTVERSION:R}
|
|
PLIST_SUB+= MAJORVER=${MAJORVER}
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${MAJORVER}
|
|
|
|
USE_GCC= 4.4+
|
|
USE_GL= glut
|
|
USE_XORG= sm
|
|
USE_GNOME= gnomehack
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-opengl=yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
MAN1= reswrap.1 shutterbug.1 adie.1 PathFinder.1 calculator.1 \
|
|
ControlPanel.1
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MJPEG}
|
|
LIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-jpeg
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MPNG}
|
|
LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-png
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MTIFF}
|
|
LIB_DEPENDS+= tiff:${PORTSDIR}/graphics/tiff
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-tiff
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MWEBP}
|
|
LIB_DEPENDS+= webp:${PORTSDIR}/graphics/webp
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-webp
|
|
.endif
|
|
|
|
.if ${ARCH} == "powerpc"
|
|
BROKEN= Does not link on powerpc
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e '/^Libs:/s|$$| ${PTHREAD_LIBS}|; s|"||g' ${WRKSRC}/fox17.pc.in
|
|
.if defined(NOPORTDOCS)
|
|
${REINPLACE_CMD} -e '/^SUBDIRS/s/ doc//' ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|