mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
06f79b66f2
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
35 lines
979 B
Makefile
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>
|