aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/imlib2
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2005-06-26 22:51:08 +0800
committervanilla <vanilla@FreeBSD.org>2005-06-26 22:51:08 +0800
commit56334f4431af9115bce0e0f4b03818f749744a51 (patch)
tree9634ed36a3d624bf507d87618cf63f71c5ef62a9 /graphics/imlib2
parent66c7bd823ed8f2e729610034b70094eb70ca985c (diff)
downloadfreebsd-ports-gnome-56334f4431af9115bce0e0f4b03818f749744a51.tar.gz
freebsd-ports-gnome-56334f4431af9115bce0e0f4b03818f749744a51.tar.zst
freebsd-ports-gnome-56334f4431af9115bce0e0f4b03818f749744a51.zip
1: add knob WITHOUT_X11
2: bump version.
Diffstat (limited to 'graphics/imlib2')
-rw-r--r--graphics/imlib2/Makefile11
-rw-r--r--graphics/imlib2/pkg-plist12
2 files changed, 13 insertions, 10 deletions
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile
index d07058ff1eec..93e802cd2062 100644
--- a/graphics/imlib2/Makefile
+++ b/graphics/imlib2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= imlib2
PORTVERSION= 1.2.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://enlightenment.freedesktop.org/files/
@@ -22,13 +22,11 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
USE_LIBLTDL= yes
USE_LIBTOOL_VER= 15
-USE_X_PREFIX= yes
USE_GNOME= gnomehack pkgconfig gnometarget
USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_AUTOCONF_VER= 259
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
- LDFLAGS="-L${LOCALBASE}/lib -L${PREFIX}/lib"
+CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib"
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
@@ -37,6 +35,11 @@ INSTALLS_SHLIB= yes
CONFIGURE_ARGS+= --enable-mmx
.endif
+.if defined(WITHOUT_X11)
+CONFIGURE_ARGS+= --without-x
+PLIST_SUB= X11="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
's|round|rint|g' ${WRKSRC}/src/lib/color_helpers.c
diff --git a/graphics/imlib2/pkg-plist b/graphics/imlib2/pkg-plist
index 18596c6abe5f..0536ff5b1de1 100644
--- a/graphics/imlib2/pkg-plist
+++ b/graphics/imlib2/pkg-plist
@@ -1,10 +1,10 @@
-bin/imlib2_bumpmap
-bin/imlib2_colorspace
+%%X11%%bin/imlib2_bumpmap
+%%X11%%bin/imlib2_colorspace
bin/imlib2_conv
-bin/imlib2_poly
-bin/imlib2_show
-bin/imlib2_test
-bin/imlib2_view
+%%X11%%bin/imlib2_poly
+%%X11%%bin/imlib2_show
+%%X11%%bin/imlib2_test
+%%X11%%bin/imlib2_view
bin/imlib2-config
include/Imlib2.h
lib/libImlib2.a