2005-01-03 16:59:12 +01:00
|
|
|
# $NetBSD: Makefile,v 1.3 2005/01/03 15:59:12 wiz Exp $
|
2004-11-03 04:21:13 +01:00
|
|
|
|
|
|
|
DISTNAME= gqmpeg-0.91.1
|
|
|
|
#PKGREVISION= 0
|
2005-01-03 16:59:12 +01:00
|
|
|
PKGREVISION= 1
|
2004-11-03 04:21:13 +01:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gqmpeg/}
|
|
|
|
|
|
|
|
MAINTAINER= sekiya@NetBSD.org
|
|
|
|
HOMEPAGE= http://gqmpeg.sourceforge.net/
|
|
|
|
COMMENT= GTK+ front end to mpg123
|
|
|
|
|
|
|
|
BUILD_USES_MSGFMT= yes
|
|
|
|
DEPENDS+= mpg123{,-esound,-nas}>=0.59.18:../../audio/mpg123
|
|
|
|
DEPENDS+= vorbis-tools>=1.0.0.6:../../audio/vorbis-tools
|
|
|
|
DEPENDS+= xmp>=2.0.2:../../audio/xmp
|
|
|
|
|
|
|
|
USE_BUILDLINK3= YES
|
|
|
|
USE_DIRS+= gnome1-1.5
|
|
|
|
USE_PKGINSTALL= YES
|
|
|
|
USE_PKGLOCALEDIR= YES
|
|
|
|
USE_X11= YES
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
|
|
|
|
DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if !defined(GQMPEG_NO_JAPANESE)
|
|
|
|
CONFIGURE_ARGS+= --enable-japanese
|
|
|
|
.endif
|
|
|
|
.if !defined(GQMPEG_NO_RUSSIAN)
|
|
|
|
CONFIGURE_ARGS+= --enable-russian
|
|
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= --without-included-gettext
|
|
|
|
CONFIGURE_ENV+= GNOME_DATADIR=${PREFIX}/share
|
|
|
|
|
2004-12-08 09:32:44 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../devel/pkgconfig/buildlink3.mk"
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
|
2004-11-03 04:21:13 +01:00
|
|
|
# in case gnome isn't installed, we need to create the directories
|
|
|
|
pre-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/gnome/apps/Multimedia
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|