2001-07-20 03:28:15 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: mp3asm
|
|
|
|
# Date created: Jul 20, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mp3asm
|
2002-07-06 06:18:25 +00:00
|
|
|
PORTVERSION= 0.1.3.1
|
2001-07-20 03:28:15 +00:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2002-07-06 06:18:25 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
|
2001-07-20 03:28:15 +00:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= MP3 frame level editor
|
2001-07-20 03:28:15 +00:00
|
|
|
|
2002-07-06 06:18:25 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-0.1
|
2001-07-20 03:28:15 +00:00
|
|
|
|
2002-07-06 06:18:25 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2001-08-30 05:09:06 +00:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${RM} ${WRKSRC}/config.cache
|
|
|
|
|
2001-08-03 20:16:39 +00:00
|
|
|
post-patch:
|
2002-07-06 06:18:25 +00:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|getprogname|_getprogname|g' ${WRKSRC}/src/mp3asm.c
|
2001-08-03 20:16:39 +00:00
|
|
|
|
2001-08-30 05:09:06 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in Changelog README
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2001-07-20 03:28:15 +00:00
|
|
|
.include <bsd.port.mk>
|