freebsd-ports/misc/e2fsprogs-libblkid/Makefile
Matthias Andree 10cf8a82d8 Update to new upstream release 1.42.3.
ChangeLog: http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.42.3

Convert to OptionsNG. (e2fsprogs-libss seems to compile fine, too)
2012-06-08 13:37:48 +00:00

40 lines
891 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
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
MAKE_JOBS_SAFE= yes
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"