aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gqmpeg-devel
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-09-20 01:35:53 +0800
committermarcus <marcus@FreeBSD.org>2002-09-20 01:35:53 +0800
commitf8fd0cdf9bea19dfebc5359eb797a559bbbfa387 (patch)
tree5ab045663b6457b908697ad5b102042a11e96062 /audio/gqmpeg-devel
parentab64069dbb3f02760d8415a68b919f2593c5ca44 (diff)
downloadfreebsd-ports-gnome-f8fd0cdf9bea19dfebc5359eb797a559bbbfa387.tar.gz
freebsd-ports-gnome-f8fd0cdf9bea19dfebc5359eb797a559bbbfa387.tar.zst
freebsd-ports-gnome-f8fd0cdf9bea19dfebc5359eb797a559bbbfa387.zip
Fix things after recent GNOMENG conversion.
Submitted by: bento
Diffstat (limited to 'audio/gqmpeg-devel')
-rw-r--r--audio/gqmpeg-devel/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/audio/gqmpeg-devel/Makefile b/audio/gqmpeg-devel/Makefile
index 0794b69cdb9c..e105bd3eb205 100644
--- a/audio/gqmpeg-devel/Makefile
+++ b/audio/gqmpeg-devel/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}