freebsd-ports/net/linux-agsatellite/Makefile
Mario Sergio Fujikawa Ferreira c9df2bafdd First commit after repo copy. Reco copy for more accurate
categorization and port naming

ports/audio/agsatellite	->	ports/net/linux-agsatellite

Repo copy approved by:	portmgr (self)
Repo copy done by:	cvs (joe)
2003-06-02 15:50:11 +00:00

50 lines
1.2 KiB
Makefile

# 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= 2
CATEGORIES= net audio linux
MASTER_SITES= http://www.audiogalaxy.com/downloads/
PKGNAMEPREFIX= linux-
DISTNAME= AGSatellite${PORTVERSION:S/.//}-glibc21
MAINTAINER= lioux@FreeBSD.org
COMMENT= Client that allows you to share your music on Audiogalaxy(TM)
WRKSRC= ${WRKDIR}/${DISTNAME:C/-.*//}
USE_LINUX= yes
NO_BUILD= yes
USE_REINPLACE= yes
STRIP=
RESTRICTED= no response from developer on licensing issues
DOCS= german_readme.txt license.txt readme.txt
BRANDELF= /usr/bin/brandelf
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>