mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
7141d57860
PR: 187769 Submitted by: Ports Fury
30 lines
651 B
Makefile
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>
|