freebsd-ports/sysutils/udfclient/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +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/ \
NETBSD \
LOCAL/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_DEFINE= FUSE DEBUG
FUSE_DESC= udfclientfs via FUSE
PLIST_FILES= bin/udfdump \
bin/udfclient \
bin/newfs_udf \
bin/cd_sessions \
bin/cd_disect \
bin/mmc_format
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFUSE}
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 ${PORT_OPTIONS:MDEBUG}
CFLAGS+= -O0 -ggdb3
.endif
post-patch:
.if ${PORT_OPTIONS:MFUSE}
${CP} ${UDFCLIENTFS_DIR}/${UDFCLIENTFS_NAME}.c ${WRKSRC}
.endif
@${REINPLACE_CMD} -e 's,$$(bindir),$$(DESTDIR)$$(bindir),g' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>