* unbreak the port in the tier architectures * add a bsd makefile to build and install the port instead of a gnu makefile * run the author regression test as part of the build process * do the proper changes to be able to disable the documentation The new generated lib is named libtrio.so.2 ( previously misnamed libtrio.so.2.0.0) and the libtrio.so symlink is generated. An entry in the UPDATING file was added about those changes Bump portrevision. PR: 234288 Submitted by: mi
37 lines
707 B
Makefile
37 lines
707 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= trio
|
|
PORTVERSION= 1.16
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/c${PORTNAME}/${PORTNAME}
|
|
|
|
MAINTAINER= rodrigo@FreeBSD.org
|
|
COMMENT= Fully matured and stable set of printf and string functions
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
USES= uidfix
|
|
|
|
MAKEFILE= ${FILESDIR}/BSDmakefile
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${FIND} doc | \
|
|
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
do-test:
|
|
${CC} -o ${WRKSRC}/regression ${WRKSRC}/regression.c \
|
|
-L${WRKSRC} -ltrio -Wl,-rpath=${WRKSRC}
|
|
${WRKSRC}/regression
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|