aboutsummaryrefslogtreecommitdiff
path: root/audio/midimountain/Makefile
blob: c0c9ed274524fa912656f2ea3420bcab357b31f7 (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
# 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_REINPLACE=	yes
USE_GNOMENG=	yes
USE_GNOME=	gtk12
GNU_CONFIGURE=	yes
USE_GMAKE=	yes

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

.include <bsd.port.mk>