a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 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, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
38 lines
918 B
Makefile
38 lines
918 B
Makefile
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= openspc
|
|
PORTVERSION= 0.3.1
|
|
PORTREVISION= 8
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://membres.lycos.fr/pixels/ \
|
|
LOCAL/ehaupt
|
|
DISTNAME= OpenSPC-${PORTVERSION}
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Command-line player for .spc and .zst files
|
|
|
|
ONLY_FOR_ARCHS= i386 # contains x86 asm code
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
USES= autoreconf libtool
|
|
USE_GCC= any
|
|
USE_LDCONFIG= yes
|
|
|
|
PORTDOCS= README
|
|
PLIST_FILES= bin/OpenSPClite include/OpenSPC.h lib/libOpenSPC.a \
|
|
lib/libOpenSPC.so lib/libOpenSPC.so.0 lib/libOpenSPC.so.0.3.1
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} '1,/AUDIOFILE/d' ${WRKSRC}/acinclude.m4
|
|
@${REINPLACE_CMD} '/AC_PROG_CC/{p;s/.*/AM_PROG_AS/;}' \
|
|
${WRKSRC}/configure.in
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|