1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/games/gno3dtet/Makefile
Rusmir Dusko 6f55bc28f8 - Bump PORTREVISION for dependency change
- Add license (GPLv2)
- Use tabulator instead of whitespace
- Remove run-autotools:: according to bsd.autotools.mk
- Add NLS Option, add REINPLACE and install conditional
- Add OPTIONS_SUB
- Add dependency for devel/gettext
- Change REINPLACE, cosmetical changes

PR:		ports/179286
Submitted by:	nemysis (self)
2014-03-22 16:17:51 +00:00

49 lines
1.1 KiB
Makefile

# Created by: Will Andrews <andrews@technologist.com>
# $FreeBSD$
PORTNAME= gno3dtet
PORTVERSION= 1.96.1
PORTREVISION= 12
CATEGORIES= games gnome
MASTER_SITES= http://eseb.net/ftp/gno3dtet/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= GNOME version of the classic 3D-ified T*tris
LICENSE= GPLv2
EXTRACT_DEPENDS= intltoolize:${PORTSDIR}/textproc/intltool
USES= pathfix gmake pkgconfig
USE_GNOME= gnomeprefix intlhack libgnomeui librsvg2
USE_AUTOTOOLS= autoheader automake aclocal autoconf
ACLOCAL_ARGS= -I m4 -I ${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS= -a -c -f
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALLS_OMF= yes
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
.include <bsd.port.options.mk>
post-extract:
@cd ${WRKSRC} && ${LOCALBASE}/bin/intltoolize -c -f
post-patch:
@${REINPLACE_CMD} -e '/LIBTOOL/d; \
s|gnome-games|gno3dtet|' ${WRKSRC}/configure.in
.if ! ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} -e '/^always_built_SUBDIRS/s|po||' ${WRKSRC}/Makefile.am
.endif
pre-configure:
@${INSTALL_SCRIPT} ${AUTOMAKE_DIR}/mkinstalldirs ${WRKSRC}
.include <bsd.port.mk>