blob: 2e09abc3de12256a19f086ce068ad28664a58ca7 (
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
|
# New ports collection makefile for: wizd
# Date created: 2008-06-25
# Whom: Ayumi M <ayu@commun.jp>
#
# $FreeBSD$
#
PORTNAME= wizd
PORTVERSION= 24
PORTREVISION= 2
CATEGORIES= net multimedia
MASTER_SITES= SF
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
NO_WRKSUBDIR= yes
USE_DOS2UNIX= Makefile
USE_ZIP= yes
USE_RC_SUBR= wizd.sh
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>
|