#-*- mode: Makefile; tab-width: 4; -*- # ex:ts=4 # # USE_CMAKE - If set, this port uses cmake. # # CMAKE_ENV - Environment passed to cmake. # Default: ${CONFIGURE_ENV} # CMAKE_ARGS - Arguments passed to cmake # Default: see below # CMAKE_USE_PTHREAD - Instruct cmake to use pthreads when compiling/linking # Default: not set # CMAKE_BUILD_TYPE - Type of build (cmake predefined build types). # Projects may have their own build profiles. # CMake supports the following types: Debug, # Release, RelWithDebInfo and MinSizeRel. # Debug and Release profiles respect system # CFLAGS, RelWithDebInfo and MinSizeRel will set # CFLAGS to "-O2 -g" and "-Os -DNDEBUG". # Default: Release, if WITH_DEBUG is not set, # Debug otherwise # CMAKE_VERBOSE - Verbose build # Default: not set # CMAKE_OUTSOURCE - Instruct to perform an out-of-source build # Default: not set # CMAKE_SOURCE_PATH - Path to sourcedir for cmake # Default: ${WRKSRC} # CMAKE_INSTALL_PREFIX - prefix for cmake to use for installation. # Default: ${PREFIX} # # # $FreeBSD$ CMAKE_MAINTAINER= kde@FreeBSD.org # # CMAKE_BIN is the location where the cmake port installs the cmake # executable # # CMAKE_PORT is where the cmake port is located in the ports tree # CMAKE_BIN= ${LOCALBASE}/bin/cmake CMAKE_PORT= ${PORTSDIR}/devel/cmake # # Make sure we depend on cmake # BUILD_DEPENDS+= ${CMAKE_BIN}:${CMAKE_PORT} # # Default environment and arguments to cmake # CMAKE_ENV?= ${CONFIGURE_ENV} CMAKE_ARGS+= -DCMAKE_C_COMPILER:STRING="${CC}" \ -DCMAKE_CXX_COMPILER:STRING="${CXX}" \ -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \ -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \ -DCMAKE_INSTALL_PREFIX:PATH="${CMAKE_INSTALL_PREFIX}" \ -DCMAKE_BUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \ -DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES # # Default build type and sourcedir # CMAKE_SOURCE_PATH?= ${WRKSRC} .if defined(CMAKE_OUTSOURCE) CONFIGURE_WRKSRC= ${WRKDIR}/.build BUILD_WRKSRC= ${CONFIGURE_WRKSRC} INSTALL_WRKSRC= ${CONFIGURE_WRKSRC} .endif CMAKE_INSTALL_PREFIX?= ${PREFIX} .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE?= Debug .else CMAKE_BUILD_TYPE?= Release INSTALL_TARGET?= install/strip .endif PLIST_SUB+= CMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:L}" # # Instruct cmake to compile/link with pthreads # .if defined(CMAKE_USE_PTHREAD) CFLAGS+= ${PTHREAD_CFLAGS} CXXFLAGS+= ${PTHREAD_CFLAGS} CMAKE_ARGS+= -DCMAKE_THREAD_LIBS:STRING="${PTHREAD_LIBS}" \ -DCMAKE_USE_PTHREADS:BOOL=ON \ -DCMAKE_EXE_LINKER_FLAGS:STRING="${PTHREAD_LIBS}" .endif # # Force makefile verbosity if needed # .if defined(CMAKE_VERBOSE) || defined(BATCH) CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON .endif # # Redefine do-configure target # .if !target(do-configure) do-configure: ${MKDIR} ${CONFIGURE_WRKSRC} @cd ${CONFIGURE_WRKSRC}; ${SETENV} ${CMAKE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} ${CMAKE_SOURCE_PATH} .endif mitter
path: root/finance/p5-Business-Stripe/pkg-plist
/ini-1.3.8&id=e79fc6f18c0ad5630600b8abfe4a3461f066cb18'>refslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Starting at ExtUtils::MakeMaker 7.06 and Perl 5.25.1, the basemat2016-05-301-1/+0
* Change the way Perl modules are installed, update the default Perl to 5.18.mat2014-11-261-1/+0
* Cleanup plistbapt2014-10-271-3/+0
* - stage supportaz2014-01-051-0/+2
path: root/math/xgraph
Commit message (Expand)AuthorAgeFilesLines
* Rename math/ patch-xy patches to reflect the files they modify.adamw2014-07-296-2/+1
* Add staging support.sanpei2014-06-112-10/+9
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* Convert to USES=imakebapt2013-06-291-7/+3
* Remove more tags from pkg-descr files fo the form:dougb2011-10-241-3/+0
* - Get Rid MD5 supportmiwi2011-03-201-1/+0
* Convert most of remaining ports that depend on xorg-libraries toamdmi32009-06-091-1/+2
* - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1
* SHA256ifyedwin2006-01-221-0/+1
* SIZEify (maintainer timeout)trevor2004-03-311-0/+1
* de-pkg-comment.sanpei2003-02-222-1/+1
* Bump version number to note new vendor release (with the same "official"kris2000-09-221-1/+1
* update new tarballsanpei2000-09-211-1/+1
* update new tarballsanpei2000-08-063-6/+6
* change my e-mail addresssanpei2000-08-031-1/+1
* Convert to PORTNAME/PORTVERSION.asami2000-04-14