summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-09-19 17:35:53 +0000
committermarcus <marcus@FreeBSD.org>2002-09-19 17:35:53 +0000
commitf8fd0cdf9bea19dfebc5359eb797a559bbbfa387 (patch)
tree5ab045663b6457b908697ad5b102042a11e96062
parentab64069dbb3f02760d8415a68b919f2593c5ca44 (diff)
downloadFreeBSD-ports-f8fd0cdf9bea19dfebc5359eb797a559bbbfa387.zip
FreeBSD-ports-f8fd0cdf9bea19dfebc5359eb797a559bbbfa387.tar.gz
Fix things after recent GNOMENG conversion.
Submitted by: bento
-rw-r--r--audio/gqmpeg-devel/Makefile13
-rw-r--r--audio/gqmpeg/Makefile13
2 files changed, 22 insertions, 4 deletions
diff --git a/audio/gqmpeg-devel/Makefile b/audio/gqmpeg-devel/Makefile
index 0794b69..e105bd3 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}
diff --git a/audio/gqmpeg/Makefile b/audio/gqmpeg/Makefile
index 0794b69..e105bd3 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}
OpenPOWER on IntegriCloud