1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/net/linux-edonkey-gui-gtk/Makefile
Mario Sergio Fujikawa Ferreira 67ba6d3375 o After being repo copied from edonkey-gui-gtk:
- Add linux- to both PKGNAMEPREFIX and binary name since it's a
  Linux binary port
- State that in COMMENT
- Update PLIST to reflect new binary name

Repo copy by:	joe
Repo copy approved by:	will
2002-06-17 03:53:23 +00:00

56 lines
1.2 KiB
Makefile

# New ports collection makefile for: eDonkey2000 GTK GUI for 'core' client
# Date created: Fri Jan 4 22:44:56 BRST 2002
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= edonkey
PORTVERSION= 0.2.0.a
CATEGORIES= net linux
MASTER_SITES= http://users.aber.ac.uk/tpm01/
PKGNAMEPREFIX= linux-
PKGNAMESUFFIX= -gui-gtk
DISTNAME= linux_gui_alpha_unstable
EXTRACT_SUFX=
MAINTAINER= lioux@FreeBSD.org
RUN_DEPENDS= donkey:${PORTSDIR}/net/edonkey-core \
${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk
ONLY_FOR_ARCHS= i386
USE_LINUX= yes
USE_X_PREFIX= 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= linux-edonkey-gui-gtk
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@${CP} ${DISTDIR}/${DISTNAME} ${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>