1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/audio/xmms-sapplug/Makefile
Edwin Groothuis 6527ef2070 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 13:08:29 +00:00

58 lines
1.4 KiB
Makefile

# New ports collection makefile for: xmms-sapplug
# Date created: 14 Jul 2005
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= xmms-sapplug
DISTVERSION= 0.3f
PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= ftp://ftp.atari.art.pl/stuff/audio/8bit-music-archive/sap/plugins/xmms/ \
CRITICAL
DISTNAME= sapplug-xmms-${DISTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= XMMS input plugin for playing 8bit Atari(TM) .sap audio files
BUILD_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_GMAKE= yes
USE_GNOME= glib12
USE_LDCONFIG= yes
CXXFLAGS+= --no-exceptions
WRKSRC= ${WRKDIR}/sapplug-${DISTVERSION}
PLIST_FILES= lib/xmms/Input/libsap.so
OPTIONS= OPTIMIZED_CXXFLAGS "use optimized C++ flags" on \
OPTIMIZED_CFLAGS "use optimized C flags" on
.include <bsd.port.pre.mk>
.if defined(WITH_OPTIMIZED_CXXFLAGS)
CXXFLAGS+= -fPIC -fpic -funroll-all-loops -fno-strength-reduce \
-finline-functions -fomit-frame-pointer
.endif
.if defined(WITH_OPTIMIZED_CFLAGS)
CFLAGS+= -fPIC -fpic -funroll-all-loops -fomit-frame-pointer \
-fno-strength-reduce
.endif
post-patch:
@${REINPLACE_CMD} -e 's|^\(}\);\(\ //.*\)|\1\2|' \
${WRKSRC}/saplib/pokeyNamespace.h
@${REINPLACE_CMD} -e 's|^\(C[[:alpha:]]*\)|\1?|' \
${WRKSRC}/saplib/Makefile
do-install:
${INSTALL_DATA} ${WRKSRC}/libsap.so ${PREFIX}/lib/xmms/Input/libsap.so
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>