blob: 00a7e719617b9b53b68b06a64d8d12963f3fa028 (
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
|
# Created by: Matthias Andree <matthias.andree@gmx.de>
# $FreeBSD$
PORTREVISION= 0
CATEGORIES= misc devel
PKGNAMESUFFIX= -libblkid
COMMENT= Blkid library from e2fsprogs package
LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid
CONFIGURE_ARGS= --enable-elf-shlibs
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
PKGDIR= ${.CURDIR}
pre-build:
${MKDIR} ${WRKSRC}/lib/blkid/elfshared
cd ${WRKSRC}/util && ${MAKE_CMD} subst
post-build:
cd ${WRKSRC}/lib/uuid && ${MAKE_CMD}
cd ${INSTALL_WRKSRC} && ${MAKE_CMD} check
.include "${MASTERDIR}/Makefile"
|