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.
49 lines
1 KiB
Makefile
49 lines
1 KiB
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: gnuboy
|
|
# Date created: Mar 11, 2001
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gnuboy
|
|
PORTVERSION= 1.0.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= emulators games
|
|
MASTER_SITES= http://gnuboy.unix-fu.org/src/ \
|
|
http://brightrain.aerifal.cx/~laguna/src/
|
|
|
|
MAINTAINER= ijliao@FreeBSD.org
|
|
COMMENT= Nintendo GameBoy emulator
|
|
|
|
LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib
|
|
|
|
USE_SDL= sdl
|
|
USE_REINPLACE= yes
|
|
USE_XLIB= yes
|
|
USE_AUTOTOOLS= autoconf:259
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
|
|
CONFIGURE_ARGS= --with-sdl
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= *
|
|
.endif
|
|
|
|
PLIST_FILES= bin/sdlgnuboy bin/sgnuboy bin/xgnuboy
|
|
|
|
post-patch:
|
|
.for file in sys/sdl/sdl.c sys/sdl/keymap.c
|
|
@${REINPLACE_CMD} -e "s|SDL/|SDL11/|g" ${WRKSRC}/${file}
|
|
.endfor
|
|
|
|
do-install:
|
|
.for file in sdlgnuboy sgnuboy xgnuboy
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
|
|
.endfor
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|