summaryrefslogblamecommitdiff
path: root/audio/midimountain/Makefile
blob: 974339866e058156d8d23c033e40e44dc000c94b (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                    
                     
                     

                                                       
                                   




                                 

                   







                                                                                                   
                      
# 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>