aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ab25/Makefile
blob: b11f58771be333e4064f917ba016089d2002dfbc (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
# $FreeBSD$

PORTNAME=   ab25
PORTVERSION=    0.2.5
CATEGORIES= multimedia
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= hrs

MAINTAINER= hrs@FreeBSD.org
COMMENT=    Utility for ARIB STD-B25 ECM handling in MPEG2-TS stream

LICENSE=    ISCL
LICENSE_FILE=   ${WRKSRC}/licence.txt

LIB_DEPENDS=    pcsclite:${PORTSDIR}/devel/pcsc-lite
RUN_DEPENDS=    ${LOCALBASE}/lib/pcsc/drivers/ifd-ccid.bundle/Contents/FreeBSD/libccid.so:${PORTSDIR}/devel/libccid

USE_LDCONFIG=   yes
MAKE_JOBS=SAFE= yes
PORTDOCS=   README readme-en.txt readme-jp.txt

PLIST_FILES=    bin/b25 \
        lib/libab25.a lib/libab25_p.a lib/libab25.so.1 lib/libab25.so \
        include/ab25/arib_std_b25.h include/ab25/b_cas_card.h
PLIST_DIRS= include/ab25

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

pre-su-install:
    ${MKDIR} ${PREFIX}/include/ab25

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>