summaryrefslogtreecommitdiff
path: root/sysutils/exfat-utils/Makefile
blob: 0ca8a30b5575914a23f39df250caeebf3d5a01b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: Alex Samorukov <samm@os2.kiev.ua>
# $FreeBSD$

PORTNAME=	exfat-utils
PORTVERSION=	1.0.1
CATEGORIES=	sysutils
MASTER_SITES=	GOOGLE_CODE

MAINTAINER=	samm@os2.kiev.ua
COMMENT=	Utilities to create, check, label and dump exFAT filesystem

LICENSE=	GPLv2

LIB_DEPENDS=	ublio:${PORTSDIR}/devel/libublio

PROJECTHOST=	exfat

USE_SCONS=	yes

MAN8=		exfatlabel.8 mkexfatfs.8 dumpexfat.8 exfatfsck.8
PLIST_FILES=	sbin/exfatlabel sbin/dumpexfat sbin/exfatfsck sbin/mkexfatfs

NO_STAGE=	yes
do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/label/exfatlabel ${PREFIX}/sbin
	${INSTALL_PROGRAM} ${WRKSRC}/dump/dumpexfat ${PREFIX}/sbin
	${INSTALL_PROGRAM} ${WRKSRC}/fsck/exfatfsck ${PREFIX}/sbin
	${INSTALL_PROGRAM} ${WRKSRC}/mkfs/mkexfatfs ${PREFIX}/sbin
	${INSTALL_MAN} ${WRKSRC}/label/exfatlabel.8 ${MAN8PREFIX}/man/man8
	${INSTALL_MAN} ${WRKSRC}/mkfs/mkexfatfs.8 ${MAN8PREFIX}/man/man8
	${INSTALL_MAN} ${WRKSRC}/dump/dumpexfat.8 ${MAN8PREFIX}/man/man8
	${INSTALL_MAN} ${WRKSRC}/fsck/exfatfsck.8 ${MAN8PREFIX}/man/man8

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/|' ${WRKSRC}/SConstruct

.include <bsd.port.mk>