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.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# New ports collection makefile for: khacc
|
|
# Date created: 22 Jan 2003
|
|
# Whom: Tilman Linneweh <arved@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= khacc
|
|
PORTVERSION= 3.3
|
|
PORTREVISION= 3
|
|
CATEGORIES= finance
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= qhacc
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Simple KDE-base financial manager
|
|
|
|
LIB_DEPENDS= qhacc.7:${PORTSDIR}/finance/qhacc
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
|
|
USE_KDELIBS_VER= 3
|
|
USE_PERL5_BUILD= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= automake:19:env autoconf:259:env
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ARGS= --with-qhacc-config=${X11BASE}/bin
|
|
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
|
AUTOHEADER="${TRUE}"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e \
|
|
's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/khacc/khacc.in
|
|
|
|
pre-configure:
|
|
@cd ${CONFIGURE_WRKSRC} \
|
|
&& ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL} -I ${ACLOCAL_DIR} \
|
|
&& ${SETENV} ${AUTOTOOLS_ENV} ${AUTOMAKE} ${AUTOMAKE_ARGS} \
|
|
&& ${PERL} admin/am_edit \
|
|
&& ${SETENV} ${AUTOTOOLS_ENV} ${AUTOCONF} ${AUTOCONF_ARGS} \
|
|
&& ${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' configure
|
|
|
|
.include <bsd.port.post.mk>
|