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

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

MAINTAINER= lioux@FreeBSD.org

# USE_AUTO{CONF,MAKE} breaks it
BUILD_DEPENDS=  autoconf:${PORTSDIR}/devel/autoconf \
        automake:${PORTSDIR}/devel/automake
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

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

.include <bsd.port.mk>