summaryrefslogtreecommitdiff
path: root/audio/grip/Makefile
blob: 1dc2aeabf9341762d0c844d1165bd3d8252c54e0 (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
# New ports collection makefile for:	grip
# Date created:				31 May 2000
# Whom:					kbyanc@posi.net
#
# $FreeBSD$
#

PORTNAME=	grip
PORTVERSION=	2.96
CATEGORIES=	audio
MASTER_SITES=	http://www.nostatic.org/grip/
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org

USE_GMAKE=	yes
USE_GTK=	yes
ALL_TARGET=	gripnopar gcd
MAN1=		grip.1
MLINKS=		grip.1 gcd.1

post-patch:
	@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/*.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/grip ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/gcd ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/grip.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/grip
.for file in CHANGES CREDITS README TODO
	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/grip
.endfor
.endif

.include <bsd.port.mk>