aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mp3asm/Makefile
blob: 0ef29c514b790a370b982e445261c8391c38b1a7 (plain) (blame)
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
39
40
41
42
# ex:ts=8
# New ports collection makefile for:    mp3asm
# Date created:         Jul 20, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   mp3asm
PORTVERSION=    0.1.3.1
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/0.1.3-1
DISTNAME=   ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    MP3 frame level editor

WRKSRC=     ${WRKDIR}/${PORTNAME}-0.1

USE_BZIP2=  yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes

post-extract:
    @${RM} ${WRKSRC}/config.cache

post-patch:
    @${REINPLACE_CMD} -e \
        's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e \
        's|getprogname|_getprogname|g' ${WRKSRC}/src/mp3asm.c

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for i in Changelog README
    ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>