freebsd-ports/games/gtetrinet/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

35 lines
949 B
Makefile

# New ports collection makefile for: gtetrinet
# Date created: 27 Feb 2000
# Whom: Dan Papasian <bugg@bugg.strangled.net>
#
# $FreeBSD$
PORTNAME= gtetrinet
PORTVERSION= 0.7.11
PORTREVISION= 1
CATEGORIES= games gnome ipv6
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= gnome2
MAINTAINER= ports@FreeBSD.org
COMMENT= A version of the popular TetriNET multiplayer tetris clone
USE_GETTEXT= yes
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GNOME= esound gnomehack gnomeprefix gnometarget libgnomeui
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --bindir=${PREFIX}/bin --enable-ipv6
MAN6= gtetrinet.6
GCONF_SCHEMAS= gtetrinet.schemas
pre-configure:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|[(]prefix[)]/games|{bindir}|g; /_DISABLE_DEPRECATED/d'
.include <bsd.port.mk>