1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/games/vamos/Makefile
Rong-En Fan f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00

50 lines
1.2 KiB
Makefile

# Ports collection makefile for: vamos
# Date created: Mar 15, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= vamos
PORTVERSION= 0.5.7
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= An automotive simulation framework
LIB_DEPENDS= alut.1:${PORTSDIR}/audio/freealut \
openal.0:${PORTSDIR}/audio/openal \
png.5:${PORTSDIR}/graphics/png
USE_GNOME= gnometarget
USE_GL= glut
USE_SDL= ttf sdl
USE_GETOPT_LONG= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS= --x-includes=${X11BASE}/include --x-libraries=${X11BASE}/lib \
ac_cv_header_boost_test_unit_test_hpp=no
USE_LDCONFIG= yes
INFO= vamos
CPPFLAGS+= `pkg-config --cflags-only-I sdl freealut libpng12` \
${PTHREAD_CFLAGS}
LDFLAGS= `pkg-config --libs-only-L sdl freealut libpng12` \
${PTHREAD_LIBS}
post-extract:
@${RM} -f ${WRKSRC}/doc/*.info*
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|-pedantic -O2 -g||g ; \
s|libpng`|libpng12`|g'
@${REINPLACE_CMD} -e 's|freeglut|glut|g ; \
s|FREEGLUT|GLUT|g' ${WRKSRC}/configure
.include <bsd.port.mk>