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.
34 lines
842 B
Makefile
34 lines
842 B
Makefile
# New ports collection makefile for: thevalley
|
|
# Date created: 28 March 2004
|
|
# Whom: Edwin Groothuis
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= thevalley
|
|
PORTVERSION= 0.98
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.autismuk.freeserve.co.uk/
|
|
DISTNAME= valley-${PORTVERSION}
|
|
|
|
MAINTAINER= edwin@mavetju.org
|
|
COMMENT= The Valley is a rewrite of an old RPG from the early 1980s
|
|
|
|
USE_AUTOTOOLS= libtool:13
|
|
USE_X= yes
|
|
HAS_CONFIGURE= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
USE_SDL= sdl
|
|
USE_REINPLACE= yes
|
|
USE_PERL5_BUILD=yes
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
|
|
CXXFLAGS="${PTHREAD_CFLAGS} -I${X11BASE}/include"
|
|
|
|
PLIST_FILES= bin/valley
|
|
|
|
post-configure:
|
|
${REINPLACE_CMD} \
|
|
-e 's,^LIBTOOL =.*,LIBTOOL= $$(SHELL) ${LIBTOOL} --silent,' \
|
|
-e 's,^transform =.*,transform = s\,^\,\,,' \
|
|
${WRKSRC}/valley/Makefile
|
|
|
|
.include <bsd.port.mk>
|