aboutsummaryrefslogtreecommitdiff
path: root/misc/e2fsprogs-libblkid/Makefile
blob: 03045e65e28346e5ffa16cf7e162abc40483918b (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
38
# New ports collection makefile for:	e2fsprogs-libblkid
# Date created:				2007-09-07
# Whom:					Matthias Andree <matthias.andree@gmx.de>
#
# $FreeBSD$
#
# set PORTREVISION to avoid override by master port

PORTREVISION=	0
CATEGORIES=	misc devel
PKGNAMESUFFIX=	-libblkid

COMMENT=	A blkid library from e2fsprogs package

LIB_DEPENDS=	uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid

CONFIGURE_ARGS=	--enable-elf-shlibs

WITHOUT_NLS=	yes
MASTERDIR=	${.CURDIR}/../../sysutils/e2fsprogs
MAKE_ARGS=	LIB_SUBDIRS=lib/blkid
USE_LDCONFIG=	yes
ALL_TARGET=	libs
INSTALL_TARGET=	install install-shlibs
INSTALL_WRKSRC=	${WRKSRC}/lib/blkid

MAN3=		libblkid.3

PKGDIR=		${.CURDIR}

pre-build:
	${MKDIR} ${WRKSRC}/lib/blkid/elfshared

post-build:
	cd ${WRKSRC}/lib/uuid && ${MAKE}
	cd ${INSTALL_WRKSRC} && ${MAKE} check

.include "${MASTERDIR}/Makefile"