(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# Created by: Kris Kennaway <kris@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gnomebreakout
|
|
PORTVERSION= 0.5.3
|
|
PORTREVISION= 17
|
|
CATEGORIES= games gnome
|
|
MASTER_SITES= SF/${PORTNAME:S/eb/e-b/}/${PORTNAME:S/eb/e-b/}/${PORTVERSION}/ \
|
|
http://www.users.on.net/~mipearson/
|
|
DISTNAME= gnome-breakout-${PORTVERSION}
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= GNOME version of the classic breakout game
|
|
|
|
USES= gettext-tools pathfix pkgconfig
|
|
USE_GNOME= gnomeprefix libgnomeui
|
|
USE_XORG= x11
|
|
GNU_CONFIGURE= yes
|
|
USE_GCC= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib -lX11 -lm
|
|
|
|
PORTDOCS= AUTHORS ChangeLog NEWS README
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext-runtime:run
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/src/Makefile.in
|
|
@${REINPLACE_CMD} -e \
|
|
's|@GETTEXT_PACKAGE@|@PACKAGE@|' ${WRKSRC}/po/Makefile.in.in
|
|
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|-DGNOME_DISABLE_DEPRECATED||; s|-DGTK_DISABLE_DEPRECATED||; \
|
|
s|-DGDK_PIXBUF_DISABLE_DEPRECATED||; s|-DG_DISABLE_DEPRECATED||'
|
|
|
|
.if ! ${PORT_OPTIONS:MNLS}
|
|
@${REINPLACE_CMD} -e 's|po src|src|' \
|
|
${WRKSRC}/Makefile.in
|
|
.endif
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|