04d6f52202
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some circumstances such as versions of FreeBSD or platforms). This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using using Mk/bsd.octave.mk which in turn has USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang, c++11-lang, c++0x, c11, or gcc-c++11-lib. PR: 216707
42 lines
982 B
Makefile
42 lines
982 B
Makefile
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= schism
|
|
PORTVERSION= 20160913
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Module tracker editor/player resembling impulse tracker
|
|
|
|
LICENSE= GPLv2
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
USES= autoreconf python compiler:c++11-lib
|
|
USE_SDL= sdl
|
|
USE_XORG= x11 xext xv
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= schismtracker
|
|
GH_PROJECT= schismtracker
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
# if you touch these make sure configure finds X11/XKBlib.h presence
|
|
LDFLAGS+= `sdl-config --libs`
|
|
LIBS+= -lm -lX11
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} \
|
|
-e "s|^\(AC_INIT.*\)\[last_git_commit\]|\1${PORTVERSION}|" \
|
|
-e '/^m4_define.*last_git_commit.*git/d' \
|
|
${WRKSRC}/configure.ac
|
|
@${REINPLACE_CMD} -e '/^schismtracker_LDADD/d' ${WRKSRC}/Makefile.am
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/schismtracker ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|