summaryrefslogtreecommitdiff
path: root/audio/gqmpeg
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-09-19 17:35:53 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-09-19 17:35:53 +0000
commitec48cd50fa23c24a3b4cc72ff2697ea80eaebf54 (patch)
treede53e28667e0bbc4829bb88b0acf2fb0e35f100b /audio/gqmpeg
parento Update to 0.5.2 which supports KDE 3 (diff)
Fix things after recent GNOMENG conversion.
Submitted by: bento
Notes
Notes: svn path=/head/; revision=66720
Diffstat (limited to 'audio/gqmpeg')
-rw-r--r--audio/gqmpeg/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/audio/gqmpeg/Makefile b/audio/gqmpeg/Makefile
index 0794b69cdb9c..e105bd3eb205 100644
--- a/audio/gqmpeg/Makefile
+++ b/audio/gqmpeg/Makefile
@@ -14,7 +14,6 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER?= lyngbol@wheel.dk
-LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
.if defined(WITH_MPG321)
RUN_DEPENDS= mpg321:${PORTSDIR}/audio/mpg321
.else
@@ -25,17 +24,27 @@ USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GNOMENG= yes
USE_GNOME= gdkpixbuf
+WANT_GNOME= yes
USE_LIBTOOL= yes
USE_AUTOCONF= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
- USE_GNOME="${USE_GNOME}"
MAN1= gqmpeg.1
.include <bsd.port.pre.mk>
+.if ${HAVE_GNOME:Mgnomelibs}!=""
+USE_GNOME+= gnomeprefix gnomelibs
+PKGNAMESUFFIX= -gnome
+CONFIGURE_ENV+= USE_GNOME="yes"
+PLIST_SUB+= DATATDIR="share/gnome"
+.else
+CONFIGURE_ENV+= USE_GNOME=""
+PLIST_SUB+= DATADIR="share"
+.endif
+
.if !defined(WITH_MPG321)
pre-everything::
@${ECHO_MSG}