# $FreeBSD$ PORTNAME= burn PORTVERSION= 0.4.1 PORTREVISION= 3 CATEGORIES= sysutils gnustep MASTER_SITES= SF/gs${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= GNUstep based CD burning program LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia RUN_DEPENDS+= cdrdao:${PORTSDIR}/sysutils/cdrdao LICENSE= GPLv2 USE_CDRTOOLS= yes USE_GNUSTEP= yes USE_GNUSTEP_BACK= yes USE_GNUSTEP_BUILD= yes USE_GNUSTEP_INSTALL= yes USE_GNUSTEP_LOCAL_BUNDLES+= Cddb:${CDDB_BUNDLE_PORT} USE_GNUSTEP_LOCAL_BUNDLES+= AudioCD:${CDPLAYER_PORT} USE_GNUSTEP_SYSTEM_LIBS+= PrefsModule:${PREFERENCES_PORT} USE_GNUSTEP_SYSTEM_LIBS+= Inspector:${GWORKSPACE_PORT} WRKSRC= ${WRKDIR}/Burn MAKE_ENV+= GNUSTEP_INSTALLATION_DIR=${GNUSTEP_LOCAL_ROOT} HEADERS= Burn/ExternalTools.h Burn/PreferencesModule.h \ Constants.h Functions.h Track.h CDDB_BUNDLE_PORT?= audio/cddb-bundle CDPLAYER_PORT?= audio/gnustep-cdplayer PREFERENCES_PORT?= deskutils/preferences GWORKSPACE_PORT?= deskutils/gworkspace post-patch: ${REINPLACE_CMD} \ -e 's|CDPlayer/AudioCDProtocol|AudioCD/AudioCDProtocol|' \ ${WRKSRC}/Functions.m \ ${WRKSRC}/GrabAudioCDHelper.m post-install: ${MKDIR} ${GNUSTEP_PREFIX}/Local/Library/Headers/Burn .for i in ${HEADERS} ${INSTALL_DATA} ${WRKSRC}/${i} \ ${GNUSTEP_PREFIX}/Local/Library/Headers/Burn/ .endfor .include