mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
3f3cac2e3a
MFH: 2018Q3
39 lines
881 B
Makefile
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>
|