1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/sysutils/burn/Makefile
2012-06-26 05:44:19 +00:00

56 lines
1.5 KiB
Makefile

# New ports collection makefile for: burn
# Date created: 21 Oct 2006
# Whom: dirk.meyer@dinoex.sub.org
#
# $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.app
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 <bsd.port.mk>