summaryrefslogtreecommitdiffstats
path: root/net-p2p/linux-agsatellite/Makefile
blob: d0831a85a470719d6207c1571aff4351a88ebd82 (plain)
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
39
40
41
42
43
44
45
46
47
48
# New ports collection makefile for:	audiogalaxy satellite
# Date created:				Thu Aug 30 15:59:04 GMT 2001
# Whom:			Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	agsatellite
PORTVERSION=	0.520
PORTREVISION=	4
CATEGORIES=	net audio linux
MASTER_SITES=	http://www.audiogalaxy.com/downloads/
PKGNAMEPREFIX=	linux-
DISTNAME=	AGSatellite${PORTVERSION:S/.//}-glibc21

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Client that allows you to share your music on Audiogalaxy(TM)

WRKSRC=	${WRKDIR}/${DISTNAME:C/-.*//}

NO_BUILD=	yes
USE_REINPLACE=	yes
USE_LINUX=	yes
USE_X_PREFIX=	yes
RESTRICTED=	no response from developer on licensing issues

DOCS=	german_readme.txt license.txt readme.txt

post-patch:
	@${REINPLACE_CMD} -e "s|
||;s|email|username|" ${WRKSRC}/*.txt
	@${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/wrapper.sh > \
		${WRKDIR}/wrapper.sh

pre-install:
	@${BRANDELF} -t Linux ${WRKSRC}/AGSatellite

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/AGSatellite ${PREFIX}/bin/AGSatellite-real
	@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/AGSatellite
.ifndef(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
. for doc in ${DOCS}
	@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
. endfor
.endif
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud