mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Add LICENSE
- Switch to new test framework Approved by: portmgr blanket
This commit is contained in:
parent
2bfe6d42e0
commit
10a4bbdbab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465505
1 changed files with 6 additions and 7 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue