mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
67ba6d3375
- 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
56 lines
1.2 KiB
Makefile
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>
|