1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/emulators/pipelight/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

68 lines
2.2 KiB
Makefile

# Created by: Kris Moore <kmoore@FreeBSD.org>
# $FreeBSD$
PORTNAME= pipelight
PORTVERSION= 0.2.8.2
PORTREVISION= 8
CATEGORIES= emulators
MASTER_SITES= https://bitbucket.org/mmueller2012/pipelight/get/ \
http://repos.fds-team.de/pluginloader/v${DISTVERSION}/:plg
DISTNAME= v${DISTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} pluginloader.tar.gz:plg pluginloader.tar.gz.sig:plg
DIST_SUBDIR= pipelight
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Wrapper for using windows plugins in web browsers
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/bin/gpg2:security/gnupg \
${LOCALBASE}/bin/bash:shells/bash
LIB_DEPENDS= libxml2.so:textproc/libxml2
RUN_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash \
${LOCALBASE}/bin/wget:ftp/wget \
${LOCALBASE}/bin/zenity:x11/zenity \
${LOCALBASE}/bin/cabextract:archivers/cabextract \
${LOCALBASE}/bin/flock:sysutils/flock \
${LOCALBASE}/bin/gpg2:security/gnupg
WRKSRC= ${WRKDIR}/mmueller2012-pipelight-792e7a4885a6
USES= compiler:c++11-lib gmake localbase:ldflags shebangfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --verbose --wine-path=${LOCALBASE}/bin/wine --win32-prebuilt \
--win64-prebuilt --moz-plugin-path=${LOCALBASE}/lib/browser_plugins \
--cxx=${CXX} --bash-interp=${LOCALBASE}/bin/bash \
--gpg-exec=${LOCALBASE}/bin/gpg2
SHEBANG_FILES= configure \
share/install-dependency
USE_XORG= x11
MAKE_JOBS_UNSAFE=yes
USE_LDCONFIG= yes
SUB_FILES= pipelight-mkufs
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
BUILD_DEPENDS+= ${LOCALBASE}/bin/wine:emulators/wine
RUN_DEPENDS+= ${LOCALBASE}/bin/wine:emulators/wine
.elif ${ARCH} == "amd64"
BUILD_DEPENDS+= ${LOCALBASE}/bin/wine:emulators/i386-wine
RUN_DEPENDS+= ${LOCALBASE}/bin/wine:emulators/i386-wine
.endif
pre-configure:
@${LN} -s ${DISTDIR}/${DIST_SUBDIR}/pluginloader.tar.gz \
${WRKSRC}/pluginloader-v${DISTVERSION}.tar.gz
@${LN} -s ${DISTDIR}/${DIST_SUBDIR}/pluginloader.tar.gz.sig \
${WRKSRC}/pluginloader-v${DISTVERSION}.tar.gz.sig
@${MKDIR} ${WRKDIR}/.gnupg
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/pipelight-mkufs ${STAGEDIR}${PREFIX}/bin/
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pipelight/libpipelight.so
.include <bsd.port.post.mk>