# Created by: Kimura Fuyuki # $FreeBSD: head/misc/ossp-uuid/Makefile 476744 2018-08-09 13:44:30Z vd $ PORTNAME= uuid PORTVERSION= 1.6.2 PORTREVISION= 9 CATEGORIES= misc devel MASTER_SITES= OSSP/lib/${PORTNAME} PKGNAMEPREFIX= ossp- MAINTAINER= vd@FreeBSD.org COMMENT= ISO-C API and CLI for generating Universally Unique Identifiers LICENSE= MIT .if defined(SLAVEPORT) && ${SLAVEPORT}=="perl" LICENSE_FILE= ${WRKSRC}/../README .else LICENSE_FILE= ${WRKSRC}/README .endif GNU_CONFIGURE= yes USES+= libtool pathfix USE_LDCONFIG= yes CONFIGURE_ARGS= --with-cxx \ --includedir=${PREFIX}/include/ossp .if defined(SLAVEPORT) && ${SLAVEPORT}=="perl" PKGNAMEPREFIX= p5-OSSP- .else TEST_TARGET= check .endif pre-patch: ### Fixes lib conflicts with misc/e2fsprogs-libuuid ### @${REINPLACE_CMD} 's/libuuid.la/libossp-uuid.la/ ; s/libuuid++.la/libossp-uuid++.la/' \ ${WRKDIR}/${DISTNAME}/Makefile.in .include