Lines 1-37
Link Here
|
1 |
PORTNAME= mkclean |
1 |
PORTNAME= mkclean |
2 |
PORTVERSION= 0.8.7 |
2 |
PORTVERSION= 0.9.0 |
3 |
PORTREVISION= 2 |
|
|
4 |
CATEGORIES= multimedia |
3 |
CATEGORIES= multimedia |
5 |
MASTER_SITES= SF/matroska/${PORTNAME}/ |
|
|
6 |
|
4 |
|
7 |
MAINTAINER= ports@FreeBSD.org |
5 |
MAINTAINER= ports@FreeBSD.org |
8 |
COMMENT= Clean and optimize Matroska and WebM files |
6 |
COMMENT= Clean and optimize Matroska and WebM files |
9 |
|
7 |
|
10 |
LICENSE= BSD3CLAUSE |
8 |
LICENSE= BSD3CLAUSE |
11 |
|
9 |
|
12 |
BROKEN_aarch64= Does not install: arm-none-linux-gnueabi-gcc: Command not found |
10 |
# These may work better now with cmake. |
13 |
BROKEN_armv6= Does not install: arm-none-linux-gnueabi-gcc: Command not found |
11 |
BROKEN_aarch64= does not install: arm-none-linux-gnueabi-gcc: Command not found |
14 |
BROKEN_armv7= Does not install: arm-none-linux-gnueabi-gcc: Command not found |
12 |
BROKEN_armv6= does not install: arm-none-linux-gnueabi-gcc: Command not found |
15 |
BROKEN_mips64= Does not install: mipsel-linux-gcc: Command not found |
13 |
BROKEN_armv7= does not install: arm-none-linux-gnueabi-gcc: Command not found |
16 |
BROKEN_riscv64= Does not compile: cc: invalid arch name 'i486', string must begin with rv32{i,e,g} or rv64{i,g} |
14 |
BROKEN_mips64= does not install: mipsel-linux-gcc: Command not found |
17 |
BROKEN_sparc64= Does not install: gmake: GNUmakefile: No such file or directory |
15 |
BROKEN_riscv64= does not compile: cc: invalid arch name 'i486', string must begin with rv32{i,e,g} or rv64{i,g} |
|
|
16 |
BROKEN_sparc64= does not install: gmake: GNUmakefile: No such file or directory |
18 |
|
17 |
|
19 |
HAS_CONFIGURE= yes |
18 |
USES= cmake compiler:c++11-lang cpe iconv localbase:ldflags |
20 |
|
19 |
|
21 |
USES= compiler:c++11-lang cpe iconv localbase:ldflags gmake tar:bzip2 |
|
|
22 |
CPE_VENDOR= matroska |
20 |
CPE_VENDOR= matroska |
23 |
|
21 |
|
24 |
LDFLAGS+= ${ICONV_LIB} |
22 |
USE_GITHUB= yes |
|
|
23 |
GH_ACCOUNT= Matroska-Org |
24 |
GH_PROJECT= foundation-source |
25 |
GH_TAGNAME= ${PORTNAME}-${PORTVERSION} |
26 |
|
27 |
NO_INSTALL= yes |
28 |
|
29 |
post-extract: |
30 |
@${REINPLACE_CMD} -e 's/vfs.h/mount.h/' ${WRKSRC}/corec/corec/helpers/file/file_libc.c |
25 |
|
31 |
|
26 |
MAKE_ENV= "LFLAGS=${LDFLAGS}" |
32 |
LDFLAGS+= ${ICONV_LIB} |
27 |
MAKEFILE= GNUmakefile |
|
|
28 |
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME} |
29 |
|
33 |
|
30 |
PLIST_FILES= bin/mkclean \ |
34 |
PLIST_FILES= bin/mkclean \ |
31 |
bin/mkWDclean |
35 |
bin/mkWDclean |
32 |
|
36 |
|
33 |
post-extract: |
37 |
post-stage: |
34 |
@${REINPLACE_CMD} -e 's,/usr/local,$$(DESTDIR)$$(PREFIX),g' ${WRKSRC}/corec/tools/coremake/gcc_mak.inc |
38 |
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME}/mkclean ${STAGEDIR}${LOCALBASE}/bin |
35 |
@${RM} ${WRKSRC}/libmatroska2/test/test.proj |
39 |
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME}/mkWDclean ${STAGEDIR}${LOCALBASE}/bin |
36 |
|
40 |
|
37 |
.include <bsd.port.mk> |
41 |
.include <bsd.port.mk> |