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
|
2007-07-23 19:34:48 +02:00
|
|
|
PORTVERSION= 0.99.10
|
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 \
|
2007-07-23 19:34:48 +02:00
|
|
|
gpod.2:${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
|
2003-04-21 08:46:00 +02:00
|
|
|
|
2006-10-10 13:13:42 +02:00
|
|
|
OPTIONS= MPEG4IP "Enable AAC and H.264 support with MPEG4IP" off
|
2005-10-31 13:58:23 +01:00
|
|
|
|
2004-05-12 10:43:58 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if exists(${LOCALBASE}/lib/libmp4v2.so)
|
2006-10-10 13:13:42 +02:00
|
|
|
WITH_MPEG4IP= YES
|
2004-05-12 10:43:58 +02:00
|
|
|
.endif
|
2004-08-16 11:41:44 +02:00
|
|
|
|
2006-10-10 13:13:42 +02:00
|
|
|
.if defined(WITH_MPEG4IP)
|
2004-11-10 03:25:02 +01:00
|
|
|
LIB_DEPENDS+= mp4v2.0:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2
|
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>
|