3f651573ad
Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
43 lines
1,003 B
Makefile
43 lines
1,003 B
Makefile
# New ports collection makefile for: vic
|
|
# Date created: 14 December 1994
|
|
# Whom: wollman
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= vic
|
|
PORTVERSION= 2.8.1.1.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= mbone tk83 ipv6
|
|
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/vic/2.8ucl-1.1.3/
|
|
DISTNAME= ${PORTNAME}-2.8ucl-1.1.3
|
|
|
|
MAINTAINER= fenner@FreeBSD.org
|
|
COMMENT= MBONE video tool
|
|
|
|
LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libuclmmbase.a:${PORTSDIR}/devel/uclmmbase
|
|
|
|
WRKSRC= ${WRKDIR}/vic-2.8ucl-1.1.3/vic
|
|
|
|
USE_AUTOCONF_VER= 213
|
|
USE_PERL5_BUILD=yes
|
|
USE_X_PREFIX= yes
|
|
CONFIGURE_ARGS= -x-libraries=${PREFIX}/lib \
|
|
-x-includes=${PREFIX}/include \
|
|
-without-ucltcl \
|
|
-with-tcl=${LOCALBASE} \
|
|
-without-ucltk \
|
|
-with-tk=${LOCALBASE} \
|
|
-enable-ipv6
|
|
MAN1= vic.1
|
|
|
|
pre-patch:
|
|
@${FIND} ${WRKSRC} -name "*.[c,h]" | ${XARGS} ${PERL} -pi -e \
|
|
's|malloc.h|stdlib.h|'
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${PREFIX}/bin/vic
|
|
${STRIP_CMD} ${PREFIX}/bin/histtolut
|
|
|
|
.include <bsd.port.mk>
|