# New ports collection makefile for: etoile-melodie # Date created: 26 Nov 2008 # Whom: dirk.meyer@dinoex.sub.org # # $FreeBSD$ # PORTNAME= melodie PORTVERSION= 0.4.1 PORTREVISION= 2 CATEGORIES= audio gnustep MASTER_SITES= http://download.gna.org/etoile/ PKGNAMEPREFIX= etoile- DISTNAME= etoile-${PORTVERSION} MAINTAINER= dinoex@FreeBSD.org COMMENT= Etoile Project music player LIB_DEPENDS= tag.1:${PORTSDIR}/audio/taglib \ mp4v2.10:${PORTSDIR}/multimedia/mp4v2 USE_BZIP2= yes USE_GNUSTEP= yes USE_GNUSTEP_BACK= yes USE_GNUSTEP_BUILD= yes USE_GNUSTEP_INSTALL= yes USE_GNUSTEP_LOCAL_LIBS+= EtoileFoundation:${FOUNDATION_PORT} USE_GNUSTEP_LOCAL_LIBS+= CoreObject:${COREOBJECT_PORT} USE_GNUSTEP_LOCAL_LIBS+= IconKit:${ICONKIT_PORT} USE_GNUSTEP_LOCAL_LIBS+= MediaKit:${MEDIAKIT_PORT} USE_GNUSTEP_LOCAL_LIBS+= EtoileUI:${ETOILE_UI_PORT} USE_GNUSTEP_LOCAL_LIBS+= LanguageKit:${LANGUAGEKIT_PORT} USE_GNUSTEP_LOCAL_LIBS+= SmalltalkSupport:${SMALLTALKKIT_PORT} USE_GNUSTEP_LOCAL_LIBS+= ScriptKit:${SCRIPTKIT_PORT} WRKSRC= ${WRKDIR}/Etoile-${PORTVERSION} USE_GNUSTEP_MAKE_DIRS+= Services/User/Melodie ADDITIONAL_INCLUDE_DIRS+= -I${LOCALBASE}/include/mp4v2 FOUNDATION_PORT?= devel/etoile-foundation COREOBJECT_PORT?= devel/etoile-coreobject ICONKIT_PORT?= x11-themes/etoile-iconkit MEDIAKIT_PORT?= multimedia/etoile-mediakit ETOILE_UI_PORT?= deskutils/etoile-ui LANGUAGEKIT_PORT?= lang/etoile-languagekit SMALLTALKKIT_PORT?= lang/etoile-smalltalkkit SCRIPTKIT_PORT?= lang/etoile-scriptkit post-patch: ${REINPLACE_CMD} -e 's|mp4.h|mp4v2.h|' \ ${WRKSRC}/Services/User/Melodie/TLMusicFile.m post-configure: ${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/etoile.make \ ${WRKSRC}/Services/User/Melodie/GNUmakefile .include .if ${ARCH} == "i386" ADDITIONAL_LDFLAGS+= -lgcc_s -lgcc .endif .include