aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-03-25 16:33:23 +0800
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-03-25 16:33:23 +0800
commit10a4bbdbab5140dc57d8ed0e37a26e7ea6ed6e14 (patch)
treed3ec53b10dd02f09053ffa0cb08d05a43b72a7eb
parent2bfe6d42e0b8261873b25dbaa4d36f3cb60821b1 (diff)
downloadfreebsd-ports-10a4bbdbab5140dc57d8ed0e37a26e7ea6ed6e14.tar.gz
freebsd-ports-10a4bbdbab5140dc57d8ed0e37a26e7ea6ed6e14.tar.zst
freebsd-ports-10a4bbdbab5140dc57d8ed0e37a26e7ea6ed6e14.zip
- Add LICENSE
- Switch to new test framework Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=465505
-rw-r--r--misc/ossp-uuid/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/misc/ossp-uuid/Makefile b/misc/ossp-uuid/Makefile
index 9522f9985e47..158d105c05ab 100644
--- a/misc/ossp-uuid/Makefile
+++ b/misc/ossp-uuid/Makefile
@@ -11,6 +11,9 @@ PKGNAMEPREFIX= ossp-
MAINTAINER= vd@FreeBSD.org
COMMENT= ISO-C API and CLI for generating Universally Unique Identifiers
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/README
+
GNU_CONFIGURE= yes
USES+= libtool pathfix
USE_LDCONFIG= yes
@@ -19,17 +22,13 @@ CONFIGURE_ARGS= --with-cxx \
.if defined(SLAVEPORT) && ${SLAVEPORT}=="perl"
PKGNAMEPREFIX= p5-OSSP-
+.else
+TEST_TARGET= check
.endif
-regression-test: test
-
pre-patch:
### Fixes lib conflicts with misc/e2fsprogs-libuuid ###
- ${REINPLACE_CMD} 's/libuuid.la/libossp-uuid.la/ ; s/libuuid++.la/libossp-uuid++.la/' \
+ @${REINPLACE_CMD} 's/libuuid.la/libossp-uuid.la/ ; s/libuuid++.la/libossp-uuid++.la/' \
${WRKDIR}/${DISTNAME}/Makefile.in
-test: build
- @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
- ${MAKEFILE} ${MAKE_ARGS} check)
-
.include <bsd.port.mk>