ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/multimedia/emby-server/Makefile
Revision: 23360
Committed: Sat May 5 18:40:24 2018 UTC (5 years, 11 months ago) by laffer1
Content type: text/plain
File size: 1478 byte(s)
Log Message:
remove stg

File Contents

# Content
1 # Created by: Ben Woods <woodsb02@FreeBSD.org>
2 # $FreeBSD: head/multimedia/emby-server/Makefile 421111 2016-08-30 12:44:27Z woodsb02 $
3 # $MidnightBSD$
4
5 PORTNAME= emby-server
6 PORTVERSION= 3.3.0.0
7 CATEGORIES= multimedia
8
9 MAINTAINER= ports@MidnightBSD.org
10 COMMENT= Home media server built using mono and other open source technologies
11
12 LICENSE= gpl2
13 LICENSE_FILE= ${WRKSRC}/LICENSE.md
14
15 BUILD_DEPENDS= referenceassemblies-pcl>=0:lang/referenceassemblies-pcl
16 LIB_DEPENDS= libavformat.so:multimedia/ffmpeg
17
18 CONFLICTS_INSTALL= mediabrowser
19
20 USE_GITHUB= yes
21 GH_ACCOUNT= MediaBrowser
22 GH_PROJECT= Emby
23
24 USES= mono pkgconfig sqlite
25 NO_ARCH= yes
26
27 USE_RC_SUBR= ${PORTNAME}
28 RC_NAME= emby_server
29 SUB_LIST= PORTNAME=${PORTNAME} USER=${USERS} GROUP=${GROUPS} RC_NAME=${RC_NAME}
30 USERS= emby
31 GROUPS= emby
32
33 OPTIONS_DEFINE= X11
34 OPTIONS_DEFAULT= X11
35 X11_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick
36 X11_LIB_DEPENDS_OFF= libMagickWand-6.so:graphics/ImageMagick-nox11
37
38 do-build:
39 (cd ${WRKSRC} && \
40 ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/xbuild /t:build /p:Configuration="Release Mono" \
41 /p:Platform="Any CPU" MediaBrowser.sln)
42
43 do-install:
44 @${MKDIR} ${PREFIX}/lib/emby-server
45 (cd ${WRKSRC}/MediaBrowser.Server.Mono/bin/Release\ Mono && \
46 ${ECHO_MSG} "Deleting the following non-BSD library files:" && \
47 ${FIND} -E . -iregex '(.*\.dylib)' -print -delete && \
48 ${FIND} . -type d -empty -print -delete && \
49 ${COPYTREE_SHARE} . ${PREFIX}/lib/emby-server)
50
51 .include <bsd.port.mk>

Properties

Name Value
svn:eol-style native
svn:keywords MidnightBSD=%H
svn:mime-type text/plain