1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/audio/gnustep-cdplayer/Makefile
Baptiste Daroussin 06f79b66f2 Convert bsd.gnustep.mk to USES=gnustep
Simplify gnustep ports
Hook into the regular ports framework:
- LIB_DEPENDS for library dependencies
- Use regular USE_LDCONFIG

Reuse USES=objc (automatic)
USE_GNUSTEP is now a macro to set the dependencies and build feature needed.
Accepted arguments: back base build gui

Merge deskutils/preferencepanes into deskutils/systempreferences
2015-04-09 07:44:41 +00:00

35 lines
979 B
Makefile

# $FreeBSD$
PORTNAME= cdplayer
PORTVERSION= 0.5.1
PORTREVISION= 3
CATEGORIES= audio gnustep
MASTER_SITES= SF/gsburn/${PORTNAME}/${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= gnustep-
MAINTAINER= ports@FreeBSD.org
COMMENT= GNUstep CD player with CDDB support
LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcdaudio.so:${PORTSDIR}/audio/libcdaudio \
libPrefsModule.so:${PORTSDIR}/deskutils/preferences
BUILD_DEPENDS= cddb-bundle>0:${PORTSDIR}/audio/cddb-bundle
RUN_DEPENDS= cddb-bundle>0:${PORTSDIR}/audio/cddb-bundle
USES= tar:bzip2 gnustep
USE_GNUSTEP= back build
WRKSRC= ${WRKDIR}/CDPlayer-${PORTVERSION}
MAKE_ENV+= GNUSTEP_INSTALLATION_DIR=${GNUSTEP_LOCAL_ROOT}
post-install:
${STRIP_CMD} \
${STAGEDIR}${PREFIX}/GNUstep/Local/Library/Bundles/AudioCD.bundle/AudioCD \
${STAGEDIR}${PREFIX}/GNUstep/Local/Library/Bundles/AudioCD.prefs/AudioCD \
${STAGEDIR}${PREFIX}/GNUstep/Local/Applications/CDPlayer.app/CDPlayer
.include <bsd.port.mk>