Date: Sun, 20 Sep 2015 01:11:56 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r397343 - head/multimedia/plexhometheater Message-ID: <201509200111.t8K1Bub5000488@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sun Sep 20 01:11:55 2015 New Revision: 397343 URL: https://svnweb.freebsd.org/changeset/ports/397343 Log: multimedia/plexhometheater: minor cleanup - Convert to USE_GL - Adjust PLIST_SUB outside of conditional - Drop 8.x support - OPSYS/OSVERSION also defined in .options.mk Approved by: portmgr blanket Modified: head/multimedia/plexhometheater/Makefile (contents, props changed) Modified: head/multimedia/plexhometheater/Makefile ============================================================================== --- head/multimedia/plexhometheater/Makefile Sun Sep 20 01:11:40 2015 (r397342) +++ head/multimedia/plexhometheater/Makefile Sun Sep 20 01:11:55 2015 (r397343) @@ -34,7 +34,6 @@ LIB_DEPENDS= libass.so:${PORTSDIR}/multi libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libfribidi.so:${PORTSDIR}/converters/fribidi \ - libGLEW.so:${PORTSDIR}/graphics/glew \ libhal.so:${PORTSDIR}/sysutils/hal \ libjasper.so:${PORTSDIR}/graphics/jasper \ liblzo2.so:${PORTSDIR}/archivers/lzo2 \ @@ -78,14 +77,18 @@ CMAKE_ARGS+= -DCMAKE_PREFIX_PATH=${LOCAL CFLAGS+= -isystem${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_XORG= xt xmu xtst xrandr -USE_GL= glu +USE_GL= glu glew USE_SDL= image sdl mixer INSTALLS_ICONS= yes + ONLY_FOR_ARCHS= i386 amd64 +PLEX_ARCH_i386= x86 +PLEX_ARCH_amd64=x86_64 WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT} SUB_FILES= ${PORTNAME}.sh pkg-message +PLIST_SUB= ARCH=${PLEX_ARCH_${ARCH}} DESKTOP_ENTRIES="Plex Home Theater" \ "${COMMENT}" \ @@ -109,18 +112,7 @@ LIRC_RUN_DEPENDS= lircd:${PORTSDIR}/comm PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio PULSEAUDIO_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio:BOOL=true -.include <bsd.port.pre.mk> - -.if ${ARCH} == i386 -PLIST_SUB+= ARCH="x86" -.else -PLIST_SUB+= ARCH="x86_64" -.endif - -.if ${OPSYS} == "FreeBSD" && ${OSVERSION} < 900033 -USE_BINUTILS= yes -MAKE_ENV= COMPILER_PATH=${LOCALBASE}/bin -.endif +.include <bsd.port.options.mk> post-patch: @${REINPLACE_CMD} 's/[[:<:]]ARCH[[:>:]]/FFMPEG_ARCH/' \ @@ -146,4 +138,4 @@ post-install: ${RM} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/*.so ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509200111.t8K1Bub5000488>