1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/misc/ossp-uuid/Makefile
2018-08-09 13:44:30 +00:00

39 lines
881 B
Makefile

# Created by: Kimura Fuyuki <fuyuki@nigredo.org>
# $FreeBSD$
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 <bsd.port.mk>