aboutsummaryrefslogtreecommitdiffstats
path: root/net/wizd/Makefile
blob: fe896059f3f4e6803b229a3e2df17142e486ef80 (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
# Created by: Ayumi M <ayu@commun.jp>
# $FreeBSD$

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

MAINTAINER= kikuchan@uranus.dti.ne.jp
COMMENT=    Open-source media server for Syabas-based media players

LIB_DEPENDS=    libdvdread.so:multimedia/libdvdread
RUN_DEPENDS=    nkf:japanese/nkf

DOS2UNIX_FILES= Makefile nkfwrap/Makefile nkfwrap/nkfwrap_test.c \
        wizd_http.c wizd_menu.c
USE_RC_SUBR=    wizd
USES=       dos2unix jpeg ncurses zip
EXTRACT_AFTER_ARGS= -d ${WRKSRC}

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

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/wizd ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/wizd.conf ${STAGEDIR}${PREFIX}/etc/wizd.conf.sample
    ${MKDIR} ${STAGEDIR}${DATADIR}/skins
    cd ${WRKSRC} && ${COPYTREE_SHARE} "simplicity simplicity_hires" \
        ${STAGEDIR}${DATADIR}/skins

.include <bsd.port.mk>