mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
52 lines
1.4 KiB
Makefile
52 lines
1.4 KiB
Makefile
# 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
|
|
PORTVERSION= 2.6
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://members.dslextreme.com/users/billw/gkrellmss/
|
|
|
|
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= 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
|
|
MAKE_ENV= LOCALEDIR="${PREFIX}/share/locale"
|
|
|
|
PORTDOCS= Changelog README Themes
|
|
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
|
|
@${REINPLACE_CMD} -e 's|PKG_LIBS|PKG_LIB|g' ${WRKSRC}/src/configure
|
|
|
|
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}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|