aboutsummaryrefslogtreecommitdiff
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
parentefb3e272892fb5b9ca569725e1af097265575bce (diff)
downloadports-ec48cd50fa23c24a3b4cc72ff2697ea80eaebf54.tar.gz
ports-ec48cd50fa23c24a3b4cc72ff2697ea80eaebf54.zip
Notes
-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 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}
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}