mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
819f25b36d
The conflict checks compare the patterns first against the package names without version (as reported by "pkg query "%n"), then - if there was no match - agsinst the full package names including the version (as reported by "pkg query "%n-%v"). Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter for the bash package in any version. But that pattern is functionally identical with just "bash". Approved by: portmgr (blanket)
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# Created by: ijliao
|
|
|
|
PORTNAME= osalp
|
|
PORTVERSION= 0.7.5
|
|
PORTREVISION= 7
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}-beta
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Open Source Audio Library Project
|
|
|
|
DEPRECATED= Abandoned upstream, listed as beta and no new release since 2008
|
|
EXPIRATION_DATE=2021-12-31
|
|
|
|
RUN_DEPENDS= mpg123:audio/mpg123
|
|
LIB_DEPENDS= libmp3lame.so:audio/lame \
|
|
libvorbis.so:audio/libvorbis
|
|
|
|
USES= libtool localbase:ldflags
|
|
USE_CXXSTD= c++98
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-all
|
|
|
|
CFLAGS+= -fPIC -DPIC
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
PLIST_SUB= VERSION=${PORTVERSION}
|
|
|
|
CONFLICTS= libaudiofile
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name "*.cc" | ${XARGS} ${REINPLACE_CMD} -E \
|
|
's|iostream.h|iostream|; \
|
|
s|[[:space:]]cout| std::cout|g; \
|
|
s|[[:space:]]endl| std::endl|g; \
|
|
s|[[:space:]]cerr| std::cerr|g;'
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaflib-${PORTVERSION}.so \
|
|
${STAGEDIR}${PREFIX}/lib/aflib/lib*-${PORTVERSION}.so
|
|
|
|
.include <bsd.port.mk>
|