aboutsummaryrefslogtreecommitdiffstats
path: root/net/ushare/Makefile
blob: f6b961f5666d0d28ad753414e3da3342739b1c1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:   ushare
# Date created:        11 December 2006
# Whom:                Volker Theile <votdev@gmx.de>
#
# $FreeBSD$
#

PORTNAME=   ushare
PORTVERSION=    0.9.8
PORTREVISION=   2
CATEGORIES= net
MASTER_SITES=   http://ushare.geexbox.org/releases/

MAINTAINER= votdev@gmx.de
COMMENT=    A lightweight UPnP (TM) A/V Media Server

LIB_DEPENDS=    upnp.2:${PORTSDIR}/devel/upnp
BUILD_DEPENDS=  pkg-config:${PORTSDIR}/devel/pkg-config \
        iconv:${PORTSDIR}/converters/libiconv

PLIST_FILES=    bin/${PORTNAME} etc/${PORTNAME}.conf.sample etc/rc.d/${PORTNAME}
MAN1=       ${PORTNAME}.1

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE}/lib --with-libintl-prefix=${LOCALBASE}/lib --mandir=${LOCALBASE}/man

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
    ${CP} ${WRKSRC}/scripts/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample
    ${INSTALL_SCRIPT} ${WRKSRC}/scripts/${PORTNAME} ${PREFIX}/etc/rc.d
    ${INSTALL_MAN} ${WRKSRC}/src/${PORTNAME}.1 ${PREFIX}/man/man1

.include <bsd.port.mk>