2012-10-22 13:12:11 +00:00
|
|
|
# Created by: David Le Brun <david@dyn-ns.net>
|
2003-04-21 06:46:00 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gtkpod
|
2011-03-15 15:13:21 +00:00
|
|
|
PORTVERSION= 1.0.0
|
2014-12-08 16:48:38 +00:00
|
|
|
PORTREVISION= 7
|
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
|
2009-08-24 20:39:42 +00:00
|
|
|
COMMENT= GUI for Apple iPod using GTK2
|
2003-04-21 06:46:00 +00:00
|
|
|
|
2011-03-15 15:13:21 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-12-11 14:35:36 +00:00
|
|
|
LIB_DEPENDS= libid3tag.so:${PORTSDIR}/audio/libid3tag \
|
|
|
|
libgpod.so:${PORTSDIR}/audio/libgpod
|
2003-04-21 06:46:00 +00:00
|
|
|
|
2013-09-04 07:55:49 +00:00
|
|
|
USES= gettext gmake pkgconfig
|
2009-08-24 20:39:42 +00:00
|
|
|
USE_GNOME= gtk20 libglade2
|
2003-04-21 06:46:00 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2014-01-21 10:14:47 +00:00
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2009-08-24 20:39:42 +00:00
|
|
|
|
2011-03-15 15:13:21 +00:00
|
|
|
PORTDOCS= ChangeLog NEWS README TODOandBUGS.txt TROUBLESHOOTING
|
2003-04-21 06:46:00 +00:00
|
|
|
|
2014-07-16 03:47:05 +00:00
|
|
|
OPTIONS_DEFINE= VORBIS FLAC CURL DOCS
|
2012-10-22 13:12:11 +00:00
|
|
|
OPTIONS_DEFAULT= VORBIS FLAC CURL
|
|
|
|
|
|
|
|
CURL_DESC= Cover art download support via libcurl
|
2005-10-31 12:58:23 +00:00
|
|
|
|
2014-01-21 10:14:47 +00:00
|
|
|
VORBIS_LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis
|
|
|
|
VORBIS_CONFIGURE_OFF= --without-ogg
|
2007-08-15 12:59:32 +00:00
|
|
|
|
2014-01-21 10:14:47 +00:00
|
|
|
FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac
|
2014-01-21 12:33:00 +00:00
|
|
|
FLAC_CONFIGURE_OFF= --without-flac
|
2007-08-15 12:59:32 +00:00
|
|
|
|
2014-01-21 10:14:47 +00:00
|
|
|
CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
|
2014-01-21 12:33:00 +00:00
|
|
|
CURL_CONFIGURE_OFF= --without-curl
|
2004-05-12 08:43:58 +00:00
|
|
|
|
2011-03-15 15:13:21 +00:00
|
|
|
post-patch:
|
2010-05-27 16:18:14 +00:00
|
|
|
# Install locale files correctly (to share dir instead of lib dir)
|
2011-03-15 15:13:21 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|' \
|
2003-04-21 06:46:00 +00:00
|
|
|
${WRKSRC}/configure
|
2014-01-21 10:14:47 +00:00
|
|
|
# FreeBSD does not have separate libdl.so
|
2011-03-15 15:13:21 +00:00
|
|
|
@${REINPLACE_CMD} -e 's| -ldl||' ${WRKSRC}/src/Makefile.in
|
2014-01-21 10:14:47 +00:00
|
|
|
# Fix location of the <endian.h> header
|
2011-03-15 15:13:21 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|endian\.h|sys/&|' ${WRKSRC}/configure \
|
|
|
|
${WRKSRC}/src/mp4file.c
|
2003-04-21 06:46:00 +00:00
|
|
|
|
|
|
|
post-install:
|
2014-01-21 10:14:47 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
2003-04-21 06:46:00 +00:00
|
|
|
|
2014-01-21 10:14:47 +00:00
|
|
|
.include <bsd.port.mk>
|