2013-11-12 16:28:52 +00:00
|
|
|
# Created by: Ayumi M <ayu@commun.jp>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= wizd
|
|
|
|
PORTVERSION= 24
|
2014-05-13 10:17:04 +00:00
|
|
|
PORTREVISION= 7
|
2013-11-12 16:28:52 +00:00
|
|
|
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:${PORTSDIR}/multimedia/libdvdread \
|
|
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg
|
|
|
|
RUN_DEPENDS= nkf:${PORTSDIR}/japanese/nkf
|
|
|
|
|
2014-03-10 16:38:00 +00:00
|
|
|
DOS2UNIX_FILES= Makefile nkfwrap/Makefile nkfwrap/nkfwrap_test.c \
|
2013-11-12 16:28:52 +00:00
|
|
|
wizd_http.c wizd_menu.c
|
|
|
|
USE_RC_SUBR= wizd
|
2014-06-06 15:26:41 +00:00
|
|
|
USES= dos2unix zip
|
2013-11-12 16:28:52 +00:00
|
|
|
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>
|