mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
bc69b9bc58
- add patch to close sockets properly [1] - bump PORTREVISION PR: ports/64338 Noticed by: Csaba Molnar <molnarcs@message.hu> [1] Approved by: arved (mentor)
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# New ports collection makefile for: amarok
|
|
# Date created: Tue Feb 24 02:21:14 CET 2004
|
|
# Whom: Markus Brueffer <markus@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= amarok
|
|
PORTVERSION= 0.9
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio kde
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= markus@FreeBSD.org
|
|
COMMENT= Media player for KDE
|
|
|
|
LIB_DEPENDS= artsgui:${PORTSDIR}/multimedia/kdemultimedia3
|
|
|
|
.if defined(WITH_GSTREAMER)
|
|
LIB_DEPENDS+= gstplay-0.6.1:${PORTSDIR}/multimedia/gstreamer-plugins
|
|
.else
|
|
CONFIGURE_ARGS= --without-gstreamer
|
|
.endif
|
|
|
|
.if defined(WITHOUT_OPENGL)
|
|
CONFIGURE_ARGS+=--without-opengl
|
|
.endif
|
|
|
|
USE_BZIP2= yes
|
|
USE_KDELIBS_VER=3
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_REINPLACE= yes
|
|
|
|
pre-everything::
|
|
.if !defined(WITH_GSTREAMER)
|
|
@${ECHO_MSG} '===>'
|
|
@${ECHO_MSG} '===> Define WITH_GSTREAMER to enable experimental GStreamer support'
|
|
.endif
|
|
.if !defined(WITHOUT_OPENGL)
|
|
@${ECHO_MSG} '===>'
|
|
@${ECHO_MSG} '===> Define WITHOUT_OPENGL to disable OpenGL support'
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.include "${PORTSDIR}/x11/kde3/Makefile.kde"
|
|
.include <bsd.port.post.mk>
|