freebsd-ports/games/hinversi/Makefile
Dmitry Marakasov 96dd6c97c4 - Fix license (no sign on GPLv3)
- Add LICENSE_FILE
- Drop @dirrm* from plist
2014-10-12 14:00:57 +00:00

34 lines
751 B
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= hinversi
PORTVERSION= 0.8.2
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/latest
MAINTAINER= games@FreeBSD.org
COMMENT= Reversi/Othello clone
LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
USES= libtool pathfix
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE}
NLS_CONFIGURE_OFF= --disable-nls
NLS_USES= gettext
post-patch:
.for file in cgi/Makefile.in human-cli/Makefile.in lib/Makefile.in
@${REINPLACE_CMD} -e \
'/AM_CFLAGS/s|-O3|| ; \
/_la_LIBADD/s|=$$|= $$(LTLIBINTL)|' ${WRKSRC}/${file}
.endfor
.include <bsd.port.mk>