mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
7e42d7a7c4
Rename this ports to use the real vendor package name. The advantage of this is to allow our users' keyword search works and easier for users to file the Bugzilla report when they use our name of ports. Debian, Gentoo, NetBSD and other OSs have the correct package name, but not in our ports tree. My team, FreeBSD GNOME Team, have agreed with it. As for other ports, chase the rename. PR: ports/97985 Repocopy by: marcus
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# New ports collection makefile for: GKrellM MLDonkey plugin
|
|
# Date created: Sat Mar 25 05:17:51 UTC 2006
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gkremldk
|
|
PORTVERSION= 0.9.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= net-p2p
|
|
MASTER_SITES= http://www.tof2k.com/gkremldk/
|
|
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
|
|
EXTRACT_SUFX= .tbz
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
COMMENT= Shows current mldonkey donwload/upload rates and allows setting them
|
|
|
|
BUILD_DEPENDS= \
|
|
pkg-config:${PORTSDIR}/devel/pkg-config \
|
|
${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
|
|
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_BZIP2= yes
|
|
GNU_CONFIGURE= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -E \
|
|
-e 's|^(LFLAGS).*|\1 = ${LDFLAGS} ${PTHREAD_LIBS} -L${X11BASE}/lib|' \
|
|
-e 's|-lpthread|${PTHREAD_LIBS}|' \
|
|
-e 's|(-fPIC)|\1 ${CFLAGS} ${PTHREAD_CFLAGS} -I${X11BASE}/include|' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/libexec/gkrellm2/plugins
|
|
@${INSTALL_DATA} ${WRKSRC}/gkremldk.so \
|
|
${PREFIX}/libexec/gkrellm2/plugins
|
|
|
|
.include <bsd.port.mk>
|