freebsd-ports/audio/orpheus/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

79 lines
1.8 KiB
Makefile

# New ports collection Makefile for: orpheus
# Date created: 9 December 2004
# Whom: Andrej Zverev
#
# $FreeBSD$
#
PORTNAME= orpheus
PORTVERSION= 1.5
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://thekonst.net/download/
MAINTAINER= az@FreeBSD.org
COMMENT= Light-weight console UI audio player application
RUN_DEPENDS= mpg321:${PORTSDIR}/audio/mpg321
USE_BZIP2= yes
HAS_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
USE_AUTOTOOLS= autoconf:253
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
OPTIONS= NLS "Native language support" on \
CDDB "CDDB audio CD' auto fetch track info support" on \
VORBIS "Vorbis playing and tags edit support" off
MAN1= orpheus.1
.include <bsd.port.pre.mk>
.if defined(WITH_CDDB)
LIB_DEPENDS+= ghttp:${PORTSDIR}/www/libghttp
CONFIGURE_ARGS+= --enable-ghttp
.endif
.if defined(WITH_VORBIS)
RUN_DEPENDS+= ogg123:${PORTSDIR}/audio/vorbis-tools
LIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis
LIB_DEPENDS+= vorbisfile:${PORTSDIR}/audio/libvorbis
CONFIGURE_ARGS+= --enable-vorbis
CONFIGURE_ARGS+= --enable-vorbisfile
.endif
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.if !defined(NOPORTDOCS)
PORTDOCS= FAQ README ChangeLog
.endif
pre-configure:
@cd ${WRKSRC}; ${AUTOCONF}
@cd ${WRKSRC}/kkconsui-0.1; ${AUTOCONF}
@cd ${WRKSRC}/kkstrtext-0.1; ${AUTOCONF}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/orpheus ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/orpheus.1 ${MAN1PREFIX}/man/man1
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.if !defined(WITHOUT_NLS)
${MKDIR} ${PREFIX}/share/locale/ru/LC_MESSAGES
@${INSTALL_DATA} ${WRKSRC}/po/ru.gmo ${PREFIX}/share/locale/ru/LC_MESSAGES/orpheus.mo
.endif
.include <bsd.port.post.mk>