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