blob: 0f6de5c439b733d5d20a41308ea5b338f1bbcb06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# 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>
|