freebsd-ports/misc/e2fsprogs-libblkid/Makefile
Dmitry Marakasov 07678c5c81 - Fix parallel build
PR:		136937
Submitted by:	Matthias Andree <matthias.andree@gmx.de> (maintainer)
2009-07-21 00:37:24 +00:00

40 lines
888 B
Makefile

# 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_GMAKE= yes
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
cd ${WRKSRC}/util && ${GMAKE} subst
post-build:
cd ${WRKSRC}/lib/uuid && ${GMAKE}
cd ${INSTALL_WRKSRC} && ${GMAKE} check
.include "${MASTERDIR}/Makefile"