2006-03-25 07:40:52 +01:00
|
|
|
# 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
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 2
|
2006-03-25 07:40:52 +01:00
|
|
|
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= \
|
2006-05-28 07:25:50 +02:00
|
|
|
pkg-config:${PORTSDIR}/devel/pkg-config \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
|
2006-03-25 07:40:52 +01:00
|
|
|
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
|
|
|
|
|
2006-03-31 18:26:04 +02:00
|
|
|
USE_BZIP2= yes
|
2006-03-25 07:40:52 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -E \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
-e 's|^(LFLAGS).*|\1 = ${LDFLAGS} ${PTHREAD_LIBS} -L${LOCALBASE}/lib|' \
|
2006-03-25 07:40:52 +01:00
|
|
|
-e 's|-lpthread|${PTHREAD_LIBS}|' \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
-e 's|(-fPIC)|\1 ${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include|' \
|
2006-03-25 07:40:52 +01:00
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/libexec/gkrellm2/plugins
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/gkremldk.so \
|
|
|
|
${PREFIX}/libexec/gkrellm2/plugins
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|