freebsd-ports/audio/wxguitar/Makefile
Gerald Pfeifer e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(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
2017-09-10 20:55:38 +00:00

36 lines
765 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= wxguitar
PORTVERSION= 1.01
PORTREVISION= 8
CATEGORIES= audio
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Simple guitar tuning assistant
RUN_DEPENDS= wavplay:audio/wavplay
USES= compiler:c++11-lib
USE_CXXSTD= c++11
GNU_CONFIGURE= yes
USE_WX= 3.0
CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG}
WRKSRC= ${WRKDIR}/wxGuitar
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE=nls
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/wxguitar|${DATADIR}|' \
${WRKSRC}/src/wxGuitarMain.cpp ${WRKSRC}/data/wxGuitar.desktop
@${REINPLACE_CMD} -e 's|aplay|wavplay|' \
${WRKSRC}/src/wxGuitarMain.cpp
.include <bsd.port.mk>