blob: 180c6bc86b5141f57d18e1ec920e02b6f5074d76 (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
PORTNAME= xorriso
DISTVERSION= 1.5.6
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://files.libburnia-project.org/releases/
DISTNAME= libisoburn-${PORTVERSION}
MAINTAINER= wen@FreeBSD.org
COMMENT= ISO image manipulation tool based on Libburnia
WWW= https://dev.lovelyhq.com/libburnia/web/wiki
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libburn.so:devel/libburn \
libisofs.so:devel/libisofs
USES= gmake iconv libedit libtool pathfix pkgconfig readline \
shebangfix
USE_LDCONFIG= yes
SHEBANG_FILES= frontend/xorriso-tcltk
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
INSTALL_TARGET= install-strip
INFO= xorrecord xorriso xorrisofs
PORTDOCS= *.wiki
OPTIONS_DEFINE= CDIO DEBUG DOCS LIBACL LIBJTE READLINE TK XATTR ZLIB
OPTIONS_DEFAULT= LIBACL LIBJTE READLINE XATTR ZLIB
OPTIONS_SUB= yes
LIBACL_DESC= ACL Support
LIBJTE_DESC= Jigdo Support
XATTR_DESC= Extended file attribute Support
CDIO_LIB_DEPENDS= libcdio.so:sysutils/libcdio
CDIO_CONFIGURE_ENABLE= libcdio
DEBUG_CONFIGURE_ENABLE= debug
LIBACL_CONFIGURE_ENABLE= libacl
LIBJTE_CONFIGURE_ENABLE= libjte
READLINE_CONFIGURE_ENABLE= libreadline
TK_USES= tk
TK_INFO= xorriso-tcltk
XATTR_CONFIGURE_ENABLE= xattr
ZLIB_CONFIGURE_ENABLE= zlib
post-patch:
@${REINPLACE_CMD} 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
do-install-TK-off:
${RM} ${STAGEDIR}${PREFIX}/bin/xorriso-tcltk \
${STAGEDIR}${PREFIX}/man/man1/xorriso-tcltk.1.gz \
${STAGEDIR}${PREFIX}/share/info/xorriso-tcltk.info
.include <bsd.port.mk>
|