mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
40f7c66ced
a 16.16.61 version to bypass bad server filters.
56 lines
1.3 KiB
Makefile
56 lines
1.3 KiB
Makefile
# New ports collection makefile for: eDonkey2000 'core' command line client
|
|
# Date created: Fri Jan 4 22:44:56 BRST 2002
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= edonkey
|
|
PORTVERSION= 16.16.58.3
|
|
CATEGORIES= net linux
|
|
MASTER_SITES= http://users.aber.ac.uk/tpm01/
|
|
PKGNAMESUFFIX= -core
|
|
DISTNAME= donkey_s_1658-gaps-3
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
USE_LINUX= yes
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
STRIP=
|
|
|
|
STRIP_CMD= ${LINUXBASE}/usr/bin/strip
|
|
|
|
.if exists(/usr/bin/brandelf)
|
|
BRANDELF?= /usr/bin/brandelf
|
|
.else
|
|
BRANDELF?= brandelf
|
|
.endif
|
|
|
|
BINARY_NAME_OLD?= ${DISTNAME}
|
|
BINARY_NAME= donkey
|
|
|
|
post-patch:
|
|
@${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/wrapper.sh > \
|
|
${WRKDIR}/wrapper.sh
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/${BINARY_NAME_OLD} ${PREFIX}/sbin/${BINARY_NAME}-real
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${BINARY_NAME}
|
|
.ifndef(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX}
|
|
@${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${DOCSDIR}${PKGNAMESUFFIX}
|
|
.endif
|
|
@${SED} s!/usr/local/share/doc/edonkey-core!${DOCSDIR}${PKGNAMESUFFIX}! ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-install:
|
|
.if exists(${STRIP_CMD})
|
|
@${STRIP_CMD} ${WRKSRC}/${BINARY_NAME_OLD}
|
|
.endif
|
|
@${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME_OLD}
|
|
|
|
.include <bsd.port.post.mk>
|