1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/multimedia/avidemux2-plugins/Makefile
Baptiste Daroussin a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +00:00

34 lines
1.1 KiB
Makefile

# Created by: Anish Mistry (with help from mean)
# $FreeBSD$
PORTNAME= avidemux2
PORTVERSION= ${AVIDEMUX2_VERSION}
PORTREVISION= 6
CATEGORIES= multimedia
PKGNAMESUFFIX= -plugins
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Simple GUI based video editor (Plugins)
BUILD_DEPENDS= avidemux2_cli:${PORTSDIR}/multimedia/avidemux2
RUN_DEPENDS= avidemux2_cli:${PORTSDIR}/multimedia/avidemux2
MASTERDIR= ${.CURDIR}/../avidemux2
PLIST= ${.CURDIR}/pkg-plist
.include "${MASTERDIR}/Makefile.common"
CMAKE_ARGS+= -DAVIDEMUX_SOURCE_DIR=${WRKSRC} -DAVIDEMUX_INSTALL_PREFIX:PATH="${PREFIX}" -DAVIDEMUX_CORECONFIG_DIR=${CONFIGURE_WRKSRC}/config
post-configure: post-configure-common
@${MKDIR} ${WRKDIR}/.build-plugins
@cd ${WRKDIR}/.build-plugins && ${SETENV} ${CMAKE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} ${WRKSRC}/plugins
do-build:
@cd ${WRKDIR}/.build-plugins && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET}
do-install:
@(cd ${WRKDIR}/.build-plugins && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
.include <bsd.port.post.mk>