1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/audio/esperanza/Makefile
Dmitry Marakasov 9c9f76517e - Add LICENSE_FILE
- Use correct echo command
- Update WWW
2017-07-15 09:00:25 +00:00

40 lines
1.2 KiB
Makefile

# Created by: Alexander Botero-Lowry <alexbl@FreeBSD.org>
# $FreeBSD$
PORTNAME= esperanza
PORTVERSION= 0.4.0.20091017
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION:R}+git${PORTVERSION:E}.orig
MAINTAINER= ports@FreeBSD.org
COMMENT= Advanced Qt4 XMMS2 client
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING.GPL
LIB_DEPENDS= libxmmsclient++.so:audio/cpp-xmms2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}+git${PORTVERSION:E}
USE_QT4= gui xml network imageformats_run \
qmake_build moc_build rcc_build uic_build
QT_NONSTANDARD= yes
USES= gmake pkgconfig tar:bzip2
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --disable-growl
MAKE_ARGS= INSTALL_ROOT="${STAGEDIR}"
PLIST_FILES= bin/esperanza
DESKTOP_ENTRIES="Esperanza" "" "" "${PORTNAME}" "Audio;Player;" false
post-patch:
@${ECHO_CMD} "QMAKE_LFLAGS= -lX11" >> ${WRKSRC}/src/ui/ui.pro
@${ECHO_CMD} "QMAKE_CC=${CC}" >> ${WRKSRC}/config.pri
@${ECHO_CMD} "QMAKE_CXX=${CXX}" >> ${WRKSRC}/config.pri
@${ECHO_CMD} "QMAKE_CFLAGS=${CFLAGS}" >> ${WRKSRC}/config.pri
@${ECHO_CMD} "QMAKE_CXXFLAGS=${CXXFLAGS}" >> ${WRKSRC}/config.pri
.include <bsd.port.mk>