7cd341218d
versions. Use BSD's bsd.lib.mk to build uclmmbase and avoid building (most of the) functionality, that is present in our base libraries (btree, md5, etc.) In vic stop using PERL, use Tcl/Tk-8.4, respect CC and CFLAGS and some other improvements. vic is thus unbroken on 5.x Per fenner's (much) earlier e-mail, grab maintainership for the time being. PR: ports/75066 (obsoleted) Approved by: fenner (implicitly)
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# New ports collection makefile for: uclmmbase
|
|
# Date created: Thanksgiving Day, 1999
|
|
# Whom: Garrett Wollman <wollman@lcs.mit.edu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= uclmmbase
|
|
PORTVERSION= 1.2.16
|
|
CATEGORIES= devel ipv6
|
|
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/common/
|
|
DISTNAME= common-${PORTVERSION}
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
|
COMMENT= Common subroutines for UCL mbone applications
|
|
|
|
WRKSRC= ${WRKDIR}/common
|
|
GNU_CONFIGURE= yes
|
|
USE_OPENSSL= yes
|
|
|
|
post-configure:
|
|
@for f in ${FILESDIR}/*.bsd ; do \
|
|
${LN} -sf $$f ${WRKSRC}/src/`${BASENAME} $$f .bsd` ; \
|
|
done
|
|
|
|
# Run the test, and fail if we hit an error. Don't fail in case of
|
|
# the networking-error, which may be due IPv6 (or IPv4) being unavailable
|
|
# or some network (mis)configuration:
|
|
post-build test:
|
|
${WRKSRC}/tests/test-libcommon | ${AWK} ' \
|
|
/fail/ && $$2 != "networking" { code=1 } \
|
|
{ print } END { exit code }'
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/src && ${MAKE_ENV} ${MAKE} install
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 400014
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|