summaryrefslogblamecommitdiff
path: root/audio/play/Makefile
blob: 3a9732a8e630bdcfb3785d45e67504725d2d75f2 (plain) (tree)
1
2
3
4
5
6
7
8
9

                    
                 
                     
                        
 
                                 
                                        
 
                   
 
                      
                                                                                       

                                                                         
 
                                              


                                                                        
                                                                          

       
                      
PORTNAME=	play
PORTVERSION=	1.0
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	PORTS_JP

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Simple audio file player

CONFLICTS=	sox

USES=		uidfix
MAKE_ARGS=	CFLAGS="${CFLAGS}" MANDIR="${PREFIX}/man/ja/man" BINDIR="${PREFIX}/bin"
# XXX PIE static libraries are not supported by base system /usr/share/mk
MAKE_ARGS+=	WITHOUT_PIE=true

PLIST_FILES=	bin/play man/ja/man1/play.1.gz

post-patch:
.for file in play_audio.c mixer_ctl.c encode_sun.c encode_riff.c speed.c
	@${REINPLACE_CMD} '/soundcard\.h/s,machine,sys,' ${WRKSRC}/${file}
.endfor

.include <bsd.port.mk>