# New ports collection makefile for: fltk # Date created: 11 February 1999 # Whom: Dima Sivachenko # # $FreeBSD$ # PORTNAME= fltk PORTVERSION= ${VERSION} PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} .ifdef WITH_THREADS PKGNAMESUFFIX= -threads .endif DISTNAME= ${PORTNAME}-${VERSION}-source MAINTAINER?= demon@FreeBSD.org COMMENT?= C++ graphical user interface for X LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ jpeg.9:${PORTSDIR}/graphics/jpeg \ Xft.2:${PORTSDIR}/x11-fonts/libXft .if defined(WITH_THREADS) CONFIGURE_ARGS+=--enable-threads CPPFLAGS+= "${PTHREAD_CFLAGS}" LDFLAGS+= "${PTHREAD_LIBS}" CONFLICTS= fltk-1* .else CONFLICTS= fltk-threads-1* .endif VERSION= 1.1.6 USE_BZIP2= yes INSTALLS_SHLIB= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS+=--enable-shared --enable-xft # configure ignores ${CXX} and keeps on linking C++ code with ${CC} CONFIGURE_ENV+= CC="${CXX}" CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" WRKSRC= ${WRKDIR}/${PORTNAME}-${VERSION} USE_X_PREFIX= yes USE_GL= yes USE_REINPLACE= yes MAN1= fluid.1 fltk-config.1 MAN3= fltk.3 .include .if ${OSVERSION} < 500000 && defined(WITH_THREADS) IGNORE= "does not work on FreeBSD 4.x, because threading is not activated" .endif pre-everything:: .if !defined(WITH_THREADS) && ${OSVERSION} > 500000 @${ECHO_MSG} "===> You can enable threads support by defining WITH_THREADS" @${ECHO_MSG} "===>" .endif pre-configure: .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e 's|%%DOCS%%|#|' ${WRKSRC}/documentation/Makefile .else @${REINPLACE_CMD} -e 's|%%DOCS%%||' ${WRKSRC}/documentation/Makefile .endif .include yarn/devel/electron4/files/elliptic-6.5.4'>dependabot/npm_and_yarn/devel/electron4/files/elliptic-6.5.4 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Get Rid MD5 supportmiwi2011-03-191-1/+0
* Update to 1.09.demon2009-10-163-4/+6
* Correct pkg-plist (@dirrm -> @dirrmtry)demon2008-06-041-2/+2
* - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_C...araujo2008-04-171-2/+1
* - MAN3PREFIX is implied when PERL_CONFIGURE is defined.clsung2006-06-261-1/+0
* SHA256ifyedwin2006-01-24