Skip to content

Commit

Permalink
multimedia/ab25: Fix build with llvm15
Browse files Browse the repository at this point in the history
- Adpot port
  • Loading branch information
5u623l20 committed Jun 3, 2023
1 parent f13fd5e commit ba86977
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions multimedia/ab25/Makefile
Expand Up @@ -3,7 +3,7 @@ PORTVERSION= 0.2.5
CATEGORIES= multimedia
MASTER_SITES= LOCAL/hrs

MAINTAINER= ports@FreeBSD.org
MAINTAINER= bofh@FreeBSD.org
COMMENT= Utility for ARIB STD-B25 ECM handling in MPEG2-TS stream
WWW= http://www.marumo.ne.jp/db2012_2.htm #13

Expand All @@ -18,16 +18,22 @@ USE_LDCONFIG= 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 \
lib/libab25.a lib/libab25.so.1 lib/libab25.so \
include/ab25/arib_std_b25.h include/ab25/b_cas_card.h

OPTIONS_DEFINE= DOCS

.include <bsd.port.pre.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} <= 1400079
PLIST_FILES+= lib/libab25_p.a
.endif

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

post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
.include <bsd.port.post.mk>

0 comments on commit ba86977

Please sign in to comment.