2003-04-21 08:46:00 +02: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 23:54:20 +01:00
|
|
|
PORTVERSION= 0.99.12
|
2009-07-06 23:25:59 +02:00
|
|
|
PORTREVISION= 4
|
2003-04-21 08:46:00 +02:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2005-10-25 06:08:38 +02:00
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
2003-07-11 03:37:37 +02:00
|
|
|
COMMENT= GUI for Apple iPods using GTK2
|
2003-04-21 08:46:00 +02:00
|
|
|
|
2006-01-18 15:47:07 +01:00
|
|
|
LIB_DEPENDS= id3tag.0:${PORTSDIR}/audio/libid3tag \
|
2008-01-06 23:54:20 +01:00
|
|
|
gpod.3:${PORTSDIR}/audio/libgpod
|
2005-04-05 02:58:11 +02:00
|
|
|
RUN_DEPENDS= mp3gain:${PORTSDIR}/audio/mp3gain \
|
2005-10-25 06:08:38 +02:00
|
|
|
iconv:${PORTSDIR}/converters/libiconv
|
2003-04-21 08:46:00 +02:00
|
|
|
|
2006-04-05 11:43:39 +02:00
|
|
|
USE_GETTEXT= yes
|
2003-04-21 08:46:00 +02:00
|
|
|
USE_GMAKE= yes
|
2007-07-29 12:40:02 +02:00
|
|
|
USE_GNOME= gtk20 libglade2 libgnomecanvas
|
2003-04-21 08:46:00 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2007-07-23 19:34:48 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2007-08-15 14:59:32 +02:00
|
|
|
WANT_GNOME= yes
|
2003-04-21 08:46:00 +02:00
|
|
|
|
2007-08-15 14:59:32 +02: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 13:58:23 +01:00
|
|
|
|
2004-05-12 10:43:58 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-08-15 14:59:32 +02:00
|
|
|
.if defined(WITH_MPEG4IP) || exists(${LOCALBASE}/lib/libmp4v2.so)
|
|
|
|
LIB_DEPENDS+= mp4v2.0:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2
|
2004-05-12 10:43:58 +02:00
|
|
|
.endif
|
2004-08-16 11:41:44 +02:00
|
|
|
|
2007-08-15 14:59:32 +02: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 22:37:23 +02:00
|
|
|
LIB_DEPENDS+= FLAC.10:${PORTSDIR}/audio/flac
|
2007-08-15 14:59:32 +02: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 16:43:14 +01:00
|
|
|
LIB_DEPENDS+= curl.5:${PORTSDIR}/ftp/curl
|
2004-05-12 10:43:58 +02:00
|
|
|
.endif
|
|
|
|
|
2003-04-21 08:46:00 +02:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
|
2003-05-22 06:58:07 +02:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
|
2003-04-21 08:46:00 +02:00
|
|
|
|
2007-03-18 20:54:52 +01:00
|
|
|
pre-configure: .SILENT
|
2003-04-21 08:46:00 +02:00
|
|
|
# install locale correctly (share dir instead of lib dir)
|
2007-03-18 20:54:52 +01:00
|
|
|
${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|' \
|
2003-04-21 08:46:00 +02:00
|
|
|
${WRKSRC}/configure
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2007-07-23 19:34:48 +02:00
|
|
|
.for f in ChangeLog README TODOandBUGS.txt TROUBLESHOOTING
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
2003-04-21 08:46:00 +02:00
|
|
|
.endif
|
|
|
|
|
2004-05-12 10:43:58 +02:00
|
|
|
.include <bsd.port.post.mk>
|