2000-01-26 05:56:05 +00:00
|
|
|
# New ports collection makefile for: uclmmbase
|
|
|
|
# Date created: Thanksgiving Day, 1999
|
|
|
|
# Whom: Garrett Wollman <wollman@lcs.mit.edu>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 05:44:42 +00:00
|
|
|
PORTNAME= uclmmbase
|
2005-03-20 23:13:45 +00:00
|
|
|
PORTVERSION= 1.2.16
|
2002-06-16 17:56:04 +00:00
|
|
|
CATEGORIES= devel ipv6
|
2000-01-26 05:56:05 +00:00
|
|
|
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/common/
|
2000-04-14 05:44:42 +00:00
|
|
|
DISTNAME= common-${PORTVERSION}
|
2000-01-26 05:56:05 +00:00
|
|
|
|
2005-03-20 23:13:45 +00:00
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Common subroutines for UCL mbone applications
|
2000-01-29 21:43:52 +00:00
|
|
|
|
2000-01-26 05:56:05 +00:00
|
|
|
WRKSRC= ${WRKDIR}/common
|
2000-02-29 01:58:29 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2005-03-20 23:13:45 +00:00
|
|
|
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:
|
2005-04-12 17:16:21 +00:00
|
|
|
${WRKSRC}/tests/test-libcommon 2>&1 | ${AWK} ' \
|
|
|
|
/fail$$/ && $$2 != "networking" { code=1 } \
|
2005-03-20 23:13:45 +00:00
|
|
|
{ print } END { exit code }'
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC}/src && ${MAKE_ENV} ${MAKE} install
|
2000-03-10 02:46:43 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 400014
|
2000-03-08 16:53:52 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
|
|
.endif
|
2000-01-26 05:56:05 +00:00
|
|
|
|
2000-03-10 02:46:43 +00:00
|
|
|
.include <bsd.port.post.mk>
|