mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
4b6b1cb238
While here, make TK optional and pass maintainership to submitter PR: 231450 Submitted by: Nathan <ndowens@yahoo.com>
60 lines
1.5 KiB
Makefile
60 lines
1.5 KiB
Makefile
# Created by: J.R. Oldroyd <fbsd@opal.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xorriso
|
|
PORTVERSION= 1.5.0
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://files.libburnia-project.org/releases/
|
|
DISTNAME= libisoburn-${PORTVERSION}
|
|
|
|
MAINTAINER= ndowens@yahoo.com
|
|
COMMENT= ISO image manipulation tool based on Libburnia
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libburn.so:devel/libburn \
|
|
libisofs.so:devel/libisofs
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake iconv libtool libedit pathfix pkgconfig shebangfix
|
|
SHEBANG_FILES= frontend/xorriso-tcltk
|
|
USE_LDCONFIG= yes
|
|
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_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-TK-off:
|
|
${RM} ${STAGEDIR}${PREFIX}/bin/xorriso-tcltk \
|
|
${STAGEDIR}${PREFIX}/man/man1/xorriso-tcltk.1.gz \
|
|
${STAGEDIR}${PREFIX}/info/xorriso-tcltk.info
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|