1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/audio/amp/Makefile
Martin Wilke 7141d57860 - Support CC/CFLAGS properly
PR:		187769
Submitted by:	Ports Fury
2014-04-29 05:10:19 +00:00

30 lines
651 B
Makefile

# Created by: Vanilla I. Shu <vanilla@MinJe.com.TW>
# $FreeBSD$
PORTNAME= amp
PORTVERSION= 0.7.6
PORTEPOCH= 1
CATEGORIES= audio
MASTER_SITES= http://www-users.cs.umn.edu/~wburdick/ftp/
MAINTAINER= ports@FreeBSD.org
COMMENT= Another mp3 player
USES= gmake
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_prog_gcc=no
PLIST_FILES= bin/amp man/man1/amp.1.gz
post-patch:
@${REINPLACE_CMD} -e \
'/CC="gcc"/s|^|#| ; \
/CFLAGS=$$/s|^|#| ; \
s|-O6|$$CFLAGS|' ${WRKSRC}/configure
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} amp ${STAGEDIR}${PREFIX}/bin)
(cd ${WRKSRC} && ${INSTALL_MAN} amp.1 ${STAGEDIR}${PREFIX}/man/man1)
.include <bsd.port.mk>