mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
09f9633cb6
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 222542
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= 7
|
|
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>
|