1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/misc/e2fsprogs-libblkid/Makefile
Timur I. Bakeyev b643de6ab0 A new slave port of the blkid library from the sysutils/e2fsprogs.
PR:             ports/116231
Submitted by:   Matthias Andree <matthias.andree@gmx.de> (maintainer)
Approved by:    shaun (mentor)
2007-10-02 15:50:56 +00:00

39 lines
834 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_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"