2013-03-06 16:52:02 +00:00
|
|
|
# Created by: Andriy Gapon <avg@icyb.net.ua>
|
2005-03-04 14:58:10 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= udfclient
|
2011-03-04 05:55:38 +00:00
|
|
|
PORTVERSION= 0.7.5
|
2011-11-27 21:16:05 +00:00
|
|
|
PORTREVISION= 1
|
2005-03-04 14:58:10 +00:00
|
|
|
CATEGORIES= sysutils
|
2006-02-27 11:44:27 +00:00
|
|
|
MASTER_SITES= http://www.13thmonkey.org/udfclient/releases/ \
|
2007-02-10 11:10:32 +00:00
|
|
|
${MASTER_SITE_NETBSD} \
|
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= miwi
|
2009-01-12 23:36:58 +00:00
|
|
|
DISTFILES= UDFclient.${PORTVERSION}.tgz
|
2005-03-04 14:58:10 +00:00
|
|
|
|
|
|
|
MAINTAINER= avg@icyb.net.ua
|
|
|
|
COMMENT= Tools for UDF filesystem
|
|
|
|
|
2009-01-12 23:36:58 +00:00
|
|
|
WRKSRC= ${WRKDIR}/UDFclient.${PORTVERSION}
|
|
|
|
|
2005-03-04 14:58:10 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAKE_ARGS+= INSTALL="${INSTALL_PROGRAM}"
|
|
|
|
|
2013-04-28 20:01:07 +00:00
|
|
|
OPTIONS_DEFINE= FUSE DEBUG
|
|
|
|
FUSE_DESC= udfclientfs via FUSE
|
2007-12-14 22:19:22 +00:00
|
|
|
|
2005-03-04 14:58:10 +00:00
|
|
|
PLIST_FILES= bin/udfdump \
|
|
|
|
bin/udfclient \
|
|
|
|
bin/newfs_udf \
|
|
|
|
bin/cd_sessions \
|
|
|
|
bin/cd_disect \
|
2005-11-23 01:38:13 +00:00
|
|
|
bin/mmc_format
|
2005-03-04 14:58:10 +00:00
|
|
|
|
2011-11-27 21:16:05 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2011-11-11 04:32:05 +00:00
|
|
|
|
2013-04-28 20:01:07 +00:00
|
|
|
.if ${PORT_OPTIONS:MFUSE}
|
2007-12-14 22:19:22 +00:00
|
|
|
UDFCLIENTFS_NAME= udfclientfs
|
2009-01-12 23:36:58 +00:00
|
|
|
UDFCLIENTFS_VERSION= 0.4
|
2007-12-14 22:19:22 +00:00
|
|
|
UDFCLIENTFS_DIR= ${WRKDIR}/udfclientfs
|
|
|
|
|
|
|
|
MASTER_SITES+= http://www.icyb.net.ua/~avg/distfiles/:fuse
|
|
|
|
DISTFILES+= ${UDFCLIENTFS_NAME}-${UDFCLIENTFS_VERSION}.tgz:fuse
|
|
|
|
EXTRA_PATCHES+= ${UDFCLIENTFS_DIR}/${UDFCLIENTFS_NAME}.patch
|
|
|
|
|
2013-03-06 16:52:02 +00:00
|
|
|
USES+= fuse
|
2007-12-14 22:19:22 +00:00
|
|
|
|
|
|
|
PLIST_FILES+= bin/${UDFCLIENTFS_NAME}
|
|
|
|
.endif
|
|
|
|
|
2013-04-28 20:01:07 +00:00
|
|
|
.if ${PORT_OPTIONS:MDEBUG}
|
2011-09-23 22:26:39 +00:00
|
|
|
CFLAGS+= -O0 -ggdb3
|
2008-02-16 08:49:15 +00:00
|
|
|
.endif
|
|
|
|
|
2007-12-14 22:19:22 +00:00
|
|
|
post-patch:
|
2013-04-28 20:01:07 +00:00
|
|
|
.if ${PORT_OPTIONS:MFUSE}
|
2007-12-14 22:19:22 +00:00
|
|
|
${CP} ${UDFCLIENTFS_DIR}/${UDFCLIENTFS_NAME}.c ${WRKSRC}
|
|
|
|
.endif
|
2014-05-12 16:59:11 +00:00
|
|
|
@${REINPLACE_CMD} -e 's,$$(bindir),$$(DESTDIR)$$(bindir),g' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2007-12-14 22:19:22 +00:00
|
|
|
|
2011-11-27 21:16:05 +00:00
|
|
|
.include <bsd.port.mk>
|