2003-04-21 06:46:00 +00:00
|
|
|
# New ports collection makefile for: gtkpod
|
|
|
|
# Date created: 28 January 2003
|
|
|
|
# Whom: David Le Brun <david@dyn-ns.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gtkpod
|
2008-01-06 22:54:20 +00:00
|
|
|
PORTVERSION= 0.99.12
|
2009-08-07 17:03:22 +00:00
|
|
|
PORTREVISION= 5
|
2003-04-21 06:46:00 +00:00
|
|
|
CATEGORIES= audio
|
2009-08-22 00:13:26 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2003-04-21 06:46:00 +00:00
|
|
|
|
2005-10-25 04:08:38 +00:00
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
2003-07-11 01:37:37 +00:00
|
|
|
COMMENT= GUI for Apple iPods using GTK2
|
2003-04-21 06:46:00 +00:00
|
|
|
|
2006-01-18 14:47:07 +00:00
|
|
|
LIB_DEPENDS= id3tag.0:${PORTSDIR}/audio/libid3tag \
|
2009-08-07 17:03:22 +00:00
|
|
|
gpod.5:${PORTSDIR}/audio/libgpod
|
2005-04-05 00:58:11 +00:00
|
|
|
RUN_DEPENDS= mp3gain:${PORTSDIR}/audio/mp3gain \
|
2005-10-25 04:08:38 +00:00
|
|
|
iconv:${PORTSDIR}/converters/libiconv
|
2003-04-21 06:46:00 +00:00
|
|
|
|
2009-08-14 11:24:34 +00:00
|
|
|
BROKEN= does not build
|
|
|
|
|
2006-04-05 09:43:39 +00:00
|
|
|
USE_GETTEXT= yes
|
2003-04-21 06:46:00 +00:00
|
|
|
USE_GMAKE= yes
|
2007-07-29 10:40:02 +00:00
|
|
|
USE_GNOME= gtk20 libglade2 libgnomecanvas
|
2003-04-21 06:46:00 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2007-07-23 17:34:48 +00:00
|
|
|
INSTALLS_ICONS= yes
|
2007-08-15 12:59:32 +00:00
|
|
|
WANT_GNOME= yes
|
2003-04-21 06:46:00 +00:00
|
|
|
|
2007-08-15 12:59:32 +00:00
|
|
|
OPTIONS= MPEG4IP "Enable AAC and H.264 support with MPEG4IP" off \
|
|
|
|
VORBIS "Enable Ogg/Vorbis support" on \
|
|
|
|
FLAC "Enable FLAC support" on \
|
|
|
|
GNOMEVFS "Enable iPod autodetection support" off \
|
|
|
|
HAL "Enable HAL support" off \
|
|
|
|
CURL "Build with coverart download support" off
|
2005-10-31 12:58:23 +00:00
|
|
|
|
2004-05-12 08:43:58 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-08-15 12:59:32 +00:00
|
|
|
.if defined(WITH_MPEG4IP) || exists(${LOCALBASE}/lib/libmp4v2.so)
|
|
|
|
LIB_DEPENDS+= mp4v2.0:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2
|
2004-05-12 08:43:58 +00:00
|
|
|
.endif
|
2004-08-16 09:41:44 +00:00
|
|
|
|
2007-08-15 12:59:32 +00:00
|
|
|
.if defined(WITH_VORBIS) || exists(${LOCALBASE}/lib/libvorbis.so)
|
|
|
|
LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_FLAC) || exists(${LOCALBASE}/lib/libFLAC.so)
|
2008-04-07 20:37:23 +00:00
|
|
|
LIB_DEPENDS+= FLAC.10:${PORTSDIR}/audio/flac
|
2007-08-15 12:59:32 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_GNOMEVFS) || ${HAVE_GNOME:Mgnomevfs2}
|
|
|
|
USE_GNOME+= gnomevfs2
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_HAL) || exists(${LOCALBASE}/lib/libhal.so)
|
|
|
|
LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_CURL) || exists(${LOCALBASE}/lib/libcurl.so)
|
2009-01-23 15:43:14 +00:00
|
|
|
LIB_DEPENDS+= curl.5:${PORTSDIR}/ftp/curl
|
2004-05-12 08:43:58 +00:00
|
|
|
.endif
|
|
|
|
|
2003-04-21 06:46:00 +00:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
|
2003-05-22 04:58:07 +00:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
|
2003-04-21 06:46:00 +00:00
|
|
|
|
2007-03-18 19:54:52 +00:00
|
|
|
pre-configure: .SILENT
|
2003-04-21 06:46:00 +00:00
|
|
|
# install locale correctly (share dir instead of lib dir)
|
2007-03-18 19:54:52 +00:00
|
|
|
${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|' \
|
2003-04-21 06:46:00 +00:00
|
|
|
${WRKSRC}/configure
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2007-07-23 17:34:48 +00:00
|
|
|
.for f in ChangeLog README TODOandBUGS.txt TROUBLESHOOTING
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
2003-04-21 06:46:00 +00:00
|
|
|
.endif
|
|
|
|
|
2004-05-12 08:43:58 +00:00
|
|
|
.include <bsd.port.post.mk>
|