54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# New ports collection makefile for: pwlib
|
|
# Date created: Fri Aug 22 07:11:44 GMT 2003
|
|
# Whom: Roger Hardiman <roger@freebsd.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pwlib
|
|
PORTVERSION= 1.5.2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.openh323.org/bin/ \
|
|
http://www.de.openh323.org/bin/ \
|
|
http://www.gnomemeeting.org/downloads/0.98.0/sources/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A cross platform C++ library, used by OpenH323
|
|
|
|
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USE_BISON= yes
|
|
USE_GMAKE= yes
|
|
USE_OPENLDAP= yes
|
|
USE_AUTOTOOLS= autoconf:253
|
|
CONFIGURE_ENV= OSRELEASE=${OSVERSION}
|
|
ALL_TARGET= optnoshared
|
|
MAKE_ENV= PWLIBDIR=${WRKDIR}/pwlib
|
|
THE_MACHTYPE= ${ARCH:S/i386/x86/}
|
|
MAKE_ARGS= OSTYPE=${OPSYS} MACHTYPE=${THE_MACHTYPE} OSRELEASE=${OSVERSION} CPLUS=${CXX}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 502101
|
|
ONLY_FOR_ARCHS= i386
|
|
.endif
|
|
|
|
do-install:
|
|
# ${INSTALL_PROGRAM} ${WRKSRC}/samples/simple/obj_${OPSYS}_${THE_MACHTYPE}_r/simph323 ${PREFIX}/bin
|
|
|
|
.include <bsd.port.post.mk>
|