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

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

MAINTAINER= ports@geeksrus.net

USE_GMAKE=  yes
USE_X_PREFIX=   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>