1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/sysutils/udfclient/Makefile
Baptiste Daroussin da12e6723d Convert USE_FUSE macros into USES feature.
While here trim headers
Convert some USE_GNOME= gnomehack -> USES= pathfix
2013-03-06 16:52:02 +00:00

58 lines
1.2 KiB
Makefile

# Created by: Andriy Gapon <avg@icyb.net.ua>
# $FreeBSD$
PORTNAME= udfclient
PORTVERSION= 0.7.5
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.13thmonkey.org/udfclient/releases/ \
${MASTER_SITE_NETBSD} \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= miwi
DISTFILES= UDFclient.${PORTVERSION}.tgz
MAINTAINER= avg@icyb.net.ua
COMMENT= Tools for UDF filesystem
WRKSRC= ${WRKDIR}/UDFclient.${PORTVERSION}
GNU_CONFIGURE= yes
MAKE_ARGS+= INSTALL="${INSTALL_PROGRAM}"
OPTIONS= FUSE "udfclientfs via FUSE" off \
DEBUG "build with debug support" off
PLIST_FILES= bin/udfdump \
bin/udfclient \
bin/newfs_udf \
bin/cd_sessions \
bin/cd_disect \
bin/mmc_format
.include <bsd.port.options.mk>
.if defined(WITH_FUSE)
UDFCLIENTFS_NAME= udfclientfs
UDFCLIENTFS_VERSION= 0.4
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
USES+= fuse
PLIST_FILES+= bin/${UDFCLIENTFS_NAME}
.endif
.if defined(WITH_DEBUG)
CFLAGS+= -O0 -ggdb3
.endif
post-patch:
.if defined(WITH_FUSE)
${CP} ${UDFCLIENTFS_DIR}/${UDFCLIENTFS_NAME}.c ${WRKSRC}
.endif
.include <bsd.port.mk>