mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
389d318e31
of strip tool since it is not part of 7.1
50 lines
1.0 KiB
Makefile
50 lines
1.0 KiB
Makefile
# New ports collection makefile for: edonkey recovermet tool
|
|
# Date created: Wed Feb 20 18:03:49 BRT 2002
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= edonkey
|
|
PORTVERSION= 0.0.2
|
|
CATEGORIES= misc linux
|
|
MASTER_SITES= http://users.aber.ac.uk/tpm01/ed2k_tools/
|
|
PKGNAMESUFFIX= -tool-recovermet
|
|
DISTNAME= ed2k_recovermet
|
|
EXTRACT_SUFX= .gz
|
|
EXTRACT_ONLY=
|
|
|
|
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= ${PORTNAME}${PKGNAMESUFFIX}
|
|
|
|
post-extract:
|
|
@${GZCAT} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > ${WRKSRC}/${BINARY_NAME}
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/bin
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-install:
|
|
.if exists(${STRIP_CMD})
|
|
@${STRIP_CMD} ${WRKSRC}/${BINARY_NAME}
|
|
.endif
|
|
@${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME}
|
|
|
|
.include <bsd.port.post.mk>
|