aboutsummaryrefslogtreecommitdiffstats
path: root/audio/agbrowser/Makefile
blob: 6b605e51478d75773e287e7367a686e9b28dad58 (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
# New ports collection makefile for:    agbrowser
# Date created:             7 April 2001
# Whom:                 will
#
# $FreeBSD$
#

PORTNAME=   agbrowser
PORTVERSION=    0.96
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   http://www.geocities.com/uallloveme/OSS/AGBrowser/

MAINTAINER= lioux@FreeBSD.org

RUN_DEPENDS=    AGSatellite:${PORTSDIR}/audio/agsatellite

USE_KDELIBS_VER=2
GNU_CONFIGURE=  yes

post-patch:
    @${SED} -e "s|%%PREFIX%%|${PREFIX}|" -e "s|%%LOCALBASE%%|${LOCALBASE}|" \
         ${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh

pre-configure:
    @${TOUCH} `${FIND} -E ${WRKSRC} -regex ".*(Makefile|configure)\.(am|in)"`

post-install:
    @${MV} ${PREFIX}/bin/agbrowser ${PREFIX}/bin/agbrowser-real
    @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/agbrowser

.include <bsd.port.mk>