freebsd-ports/audio/playgsf/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

38 lines
759 B
Makefile

# New ports collection makefile for: playgsf
# Date created: 10 Jul 2005
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= playgsf
PORTVERSION= 0.6
CATEGORIES= audio
MASTER_SITES= http://projects.raphnet.net/playgsf/
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= A command line player for gsf audio files
USE_GMAKE= yes
USE_REINPLACE= yes
USE_AUTOTOOLS= libtool:15
USE_GCC= 3.4+
# avoid a "of memory error" gcc bug
CFLAGS+= -O0
PLIST_FILES= bin/playgsf
ONLY_FOR_ARCHS= i386 # contains x86 assembler
post-patch:
@${REINPLACE_CMD} -e 's|^\(CFLAGS="\)\(-DLINUX\)|\1${CFLAGS} \2|' \
${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
post-install:
${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>