2003-09-01 04:57:08 +02:00
|
|
|
# New ports collection makefile for: gkrellmss
|
|
|
|
# Date Created: Tue Feb 4 13:24:50 PST 2003
|
|
|
|
# Whom: Lars Eggert <larse@isi.edu>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gkrellmss
|
2005-01-21 20:15:33 +01:00
|
|
|
PORTVERSION= 2.6
|
2008-06-06 15:08:29 +02:00
|
|
|
PORTREVISION= 7
|
2003-09-01 04:57:08 +02:00
|
|
|
CATEGORIES= audio
|
2005-02-20 07:27:20 +01:00
|
|
|
MASTER_SITES= http://members.dslextreme.com/users/billw/gkrellmss/
|
2003-09-01 04:57:08 +02:00
|
|
|
|
2005-01-18 13:20:06 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-09-01 04:57:08 +02:00
|
|
|
COMMENT= A plugin for GKrellM with a VU meter showing left/right channel audio
|
|
|
|
|
- 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
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
|
2006-05-11 17:12:06 +02:00
|
|
|
LIB_DEPENDS= fftw3.4:${PORTSDIR}/math/fftw3
|
2003-10-27 10:11:28 +01:00
|
|
|
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
|
2003-09-01 04:57:08 +02:00
|
|
|
|
- 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
|
|
|
USE_XORG= x11
|
2005-01-21 20:15:33 +01:00
|
|
|
USE_GNOME= esound gtk20
|
2003-09-01 04:57:08 +02:00
|
|
|
USE_GMAKE= yes
|
2005-01-21 20:15:33 +01:00
|
|
|
MAKE_ENV= LOCALEDIR="${PREFIX}/share/locale"
|
2003-09-01 04:57:08 +02:00
|
|
|
|
2005-01-18 13:20:06 +01:00
|
|
|
PORTDOCS= Changelog README Themes
|
2005-01-21 20:15:33 +01:00
|
|
|
PLIST_FILES= libexec/gkrellm2/plugins/gkrellmss.so \
|
|
|
|
share/locale/ru/LC_MESSAGES/gkrellm-gkrellmss.mo
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|= -O2|=|g ; \
|
|
|
|
s|= gcc|+=|g' ${WRKSRC}/src/Makefile
|
2005-06-10 19:05:43 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|PKG_LIBS|PKG_LIB|g' \
|
|
|
|
-e "s|-lfftw3|-L${LOCALBASE}/lib &|g" ${WRKSRC}/src/configure
|
2005-01-21 20:15:33 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/gkrellmss.so \
|
|
|
|
${PREFIX}/libexec/gkrellm2/plugins/gkrellmss.so
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/ru.mo \
|
|
|
|
${PREFIX}/share/locale/ru/LC_MESSAGES/gkrellm-gkrellmss.mo
|
2003-09-01 04:57:08 +02:00
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-01-18 13:20:06 +01:00
|
|
|
.for doc in ${PORTDOCS}
|
2005-01-21 20:15:33 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
2003-09-01 04:57:08 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2005-06-10 19:05:43 +02:00
|
|
|
.include <bsd.port.mk>
|