aboutsummaryrefslogtreecommitdiff
path: root/audio/gkrellmss2/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-01-21 19:15:33 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-01-21 19:15:33 +0000
commitdbab6ba14f267e73415134c42696ac8951f0a69e (patch)
tree3010609203dd96cb28826f1524e337417a55c7ec /audio/gkrellmss2/Makefile
parent6f1f89f7e0de488c573154f9ded033c84be60f78 (diff)
downloadports-dbab6ba14f267e73415134c42696ac8951f0a69e.tar.gz
ports-dbab6ba14f267e73415134c42696ac8951f0a69e.zip
Update to version 2.6
PR: ports/76540 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=127047
Diffstat (limited to 'audio/gkrellmss2/Makefile')
-rw-r--r--audio/gkrellmss2/Makefile42
1 files changed, 25 insertions, 17 deletions
diff --git a/audio/gkrellmss2/Makefile b/audio/gkrellmss2/Makefile
index 30a6e199301e..65371dd6b101 100644
--- a/audio/gkrellmss2/Makefile
+++ b/audio/gkrellmss2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gkrellmss
-PORTVERSION= 2.3
-PORTREVISION= 3
+PORTVERSION= 2.6
CATEGORIES= audio
MASTER_SITES= http://web.wt.net/~billw/gkrellmss/
@@ -15,31 +14,40 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A plugin for GKrellM with a VU meter showing left/right channel audio
BUILD_DEPENDS= ${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
-LIB_DEPENDS= gdk_pixbuf_xlib.2:${PORTSDIR}/graphics/gdk-pixbuf
-LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw
+LIB_DEPENDS= fftw3.3:${PORTSDIR}/math/fftw3
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
LATEST_LINK= gkrellmss2
+
USE_X_PREFIX= yes
+USE_GNOME= esound gtk20
+USE_GCC= 3.4
+USE_REINPLACE= yes
USE_GMAKE= yes
-USE_GNOMENG= yes
-USE_GNOME= esound imlib
-USE_XPM= yes
+MAKE_ENV= LOCALEDIR="${PREFIX}/share/locale"
PORTDOCS= Changelog README Themes
-PLIST_FILES= libexec/gkrellm2/plugins/gkrellmss.so
-
-MAKE_ENV+= PLUGIN_INSTALLDIR=${PREFIX}/libexec/gkrellm2/plugins \
- INSTALLDIR=${PREFIX}/libexec/gkrellm2/plugins \
- LOCALEDIR=${PREFIX}/share/locale \
- FFTW_LIB_DIR=-L${LOCALBASE}/lib \
- enable_nls=1
-
-post-install:
+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
+
+do-configure:
+ @${ECHO_CMD} "" > ${WRKSRC}/src/configure.h
+ @${ECHO_CMD} "#define HAVE_ESOUND 1" >> ${WRKSRC}/src/configure.h
+ @${ECHO_CMD} "#define HAVE_FFTW3 1" >> ${WRKSRC}/src/configure.h
+
+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
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif