aboutsummaryrefslogtreecommitdiffstats
path: root/audio/midimountain/Makefile
blob: 974339866e058156d8d23c033e40e44dc000c94b (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
# ex:ts=8
# New ports collection makefile for:    midimountain
# Date created:         Aug 5, 2001
# Whom:             Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   midimountain
PORTVERSION=    0.3.0
CATEGORIES= audio
MASTER_SITES=   http://www.midimountain.com/download/ \
        ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org

USE_GTK=    yes
GNU_CONFIGURE=  yes
USE_GMAKE=  yes

post-patch:
.for file in midimountain.conf main.cpp
    @${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/midimountain/${file}
.endfor
.for dir in pixmaps languages
    ${PERL} -pi -e "s, ${dir}/, ${DATADIR}/${dir}/,g" ${WRKSRC}/midimountain/${dir}/Makefile.in
.endfor

.include <bsd.port.mk>