2005-03-04 14:58:10 +00:00
|
|
|
# New ports collection makefile for: udfclient
|
|
|
|
# Date created: 3 January 2005
|
|
|
|
# Whom: Andriy Gapon <avg@icyb.net.ua>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= udfclient
|
2007-12-14 22:19:22 +00:00
|
|
|
PORTVERSION= 0.5.8
|
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
|
2005-03-04 14:58:10 +00:00
|
|
|
DISTNAME= UDFclient.${PORTVERSION}
|
2007-12-14 22:19:22 +00:00
|
|
|
DISTFILES= ${DISTNAME}.tgz
|
2005-03-04 14:58:10 +00:00
|
|
|
|
|
|
|
MAINTAINER= avg@icyb.net.ua
|
|
|
|
COMMENT= Tools for UDF filesystem
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV+= with_pthread_cflags="${PTHREAD_CFLAGS}" \
|
|
|
|
with_thread_libs="${PTHREAD_LIBS}"
|
|
|
|
MAKE_ARGS+= INSTALL="${INSTALL_PROGRAM}"
|
|
|
|
|
2007-12-14 22:19:22 +00:00
|
|
|
OPTIONS= FUSE "udfclientfs via FUSE" off
|
|
|
|
|
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
|
|
|
|
2007-12-14 22:19:22 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_FUSE)
|
|
|
|
UDFCLIENTFS_NAME= udfclientfs
|
|
|
|
UDFCLIENTFS_VERSION= 0.1
|
|
|
|
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
|
|
|
|
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
|
|
|
|
LIB_DEPENDS+= fuse.2:${PORTSDIR}/sysutils/fusefs-libs
|
|
|
|
|
|
|
|
PLIST_FILES+= bin/${UDFCLIENTFS_NAME}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.if defined(WITH_FUSE)
|
|
|
|
${CP} ${UDFCLIENTFS_DIR}/${UDFCLIENTFS_NAME}.c ${WRKSRC}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|