# $FreeBSD$ # # Provide support for imake based projects # # Feature: imake # Usage: USES=imake # Valid ARGS: env: do not define any target # notall: do not pass -a to xmkmf # noman: do not add install-man to # INSTALL_TARGET # # MAINTAINER: x11@FreeBSD.org .if !defined(_INCLUDE_USES_IMAKE_MK) _INCLUDE_USES_IMAKE_MK= yes .if defined(imake_ARGS) imake_ARGS:= ${imake_ARGS:S/,/ /g} .if ${imake_ARGS:Nnotall:Nenv:Nnoman} IGNORE= USES=imake:${imake_ARGS:S/ /,/g} is not a valid argument .endif .else imake_ARGS= .endif .if defined(NO_INSTALL_MANPAGES) imake_ARGS+= noman .endif .if ! ${imake_ARGS:Mnoman} MANCOMPRESSED?= yes .endif BUILD_DEPENDS+= imake:${PORTSDIR}/devel/imake .if defined(USE_GCC) IMAKECPP= ${CPP} IMAKECPPFLAGS= -DCppCmd=${CPP} -DCcCmd=${CC} -DCplusplusCmd=${CXX} .else IMAKECPP= tradcpp IMAKECPPFLAGS= -DCppCmd=tradcpp -DCcCmd=${CC} -DCplusplusCmd=${CXX} BUILD_DEPENDS+= tradcpp:${PORTSDIR}/devel/tradcpp .endif MAKE_ENV+= IMAKECPP=${IMAKECPP} IMAKECPPFLAGS="${IMAKECPPFLAGS}" CONFIGURE_ENV+= IMAKECPP=${IMAKECPP} IMAKECPPFLAGS="${IMAKECPPFLAGS}" .if ! ${imake_ARGS:Mnotall} XMKMF_ARGS+= -a .endif .if ! ${imake_ARGS:Menv} .if !target(do-configure) do-configure: @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${MAKE_ENV} ${XMKMF} ${XMKMF_ARGS}) .endif .if ! ${imake_ARGS:Mnoman} LATE_INSTALL_ARGS= install.man .endif .endif .endif on-2.8 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/figurine
Commit message (Expand)AuthorAgeFilesLines
* Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.mat2016-04-011-1/+1
* - Switch to options helpersamdmi32015-08-271-9/+5
* - Reset maintainership of my portsgahr2014-12-111-1/+1
* - STAGE-cleangahr2014-02-052-65/+12