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
|
2005-10-19 17:11:12 +00:00
|
|
|
PORTVERSION= 0.94.0
|
2005-11-05 05:22:06 +00:00
|
|
|
PORTREVISION= 2
|
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
|
|
|
|
2005-10-28 07:59:53 +00:00
|
|
|
LIB_DEPENDS= id3tag.0:${PORTSDIR}/audio/libid3tag
|
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
|
|
|
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2005-10-31 12:58:23 +00:00
|
|
|
OPTIONS= AAC "Enable AAC support with MPEG4IP" off
|
|
|
|
|
2004-05-12 08:43:58 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if exists(${LOCALBASE}/lib/libmp4v2.so)
|
|
|
|
WITH_AAC= YES
|
|
|
|
.endif
|
2004-08-16 09:41:44 +00:00
|
|
|
|
2004-05-12 08:43:58 +00:00
|
|
|
.if defined(WITH_AAC)
|
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
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
# install locale correctly (share dir instead of lib dir)
|
|
|
|
@${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e 's|(libdir)/locale|(datadir)/locale|' \
|
|
|
|
${WRKSRC}/po/Makefile.in.in
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-10-31 12:58:23 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/TODOandBUGS.txt ${DOCSDIR}
|
2003-04-21 06:46:00 +00:00
|
|
|
.endif
|
|
|
|
|
2004-05-12 08:43:58 +00:00
|
|
|
.include <bsd.port.post.mk>
|