aboutsummaryrefslogtreecommitdiffstats
path: root/net/wizd/Makefile
blob: 210c8c7088f9d3016d9b1d1732b28eb378940f62 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# New ports collection makefile for:    wizd
# Date created:     2008-06-25
# Whom:         Ayumi M <ayu@commun.jp>
#
# $FreeBSD$
#

PORTNAME=   wizd
PORTVERSION=    24
PORTREVISION=   5
CATEGORIES= net multimedia
MASTER_SITES=   SF/${PORTNAME}/Sources/Sources%20v${PORTVERSION}
DISTFILES=  wizd_sources_v${PORTVERSION}.zip simplicity_v1-2.zip

MAINTAINER= ayu@commun.jp
COMMENT=    An open-source media server for Syabas-based media players

LIB_DEPENDS=    dvdread:${PORTSDIR}/multimedia/libdvdread \
        jpeg:${PORTSDIR}/graphics/jpeg
RUN_DEPENDS=    nkf:${PORTSDIR}/japanese/nkf

DEPRECATED= Broken for more than 6 month
EXPIRATION_DATE=    2013-08-27
BROKEN=     does not install

NO_WRKSUBDIR=   yes
USE_DOS2UNIX=   Makefile
USE_ZIP=    yes
USE_RC_SUBR=    wizd

post-patch:
    @${REINPLACE_CMD} -e 's|./skin|${DATADIR}/skins|' ${WRKSRC}/wizd.conf

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/wizd ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/wizd.conf ${PREFIX}/etc/wizd.conf.sample

    ${MKDIR} ${DATADIR}/skins
.for DIR in simplicity simplicity_hires
    cd ${WRKSRC} && ${COPYTREE_SHARE} ${DIR} ${DATADIR}/skins
.endfor

.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/ChangeLog.txt ${DOCSDIR}
.endif

.include <bsd.port.mk>