1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

1: add knob WITHOUT_X11

2: bump version.
This commit is contained in:
Vanilla I. Shu 2005-06-26 14:51:08 +00:00
parent 5c892e9747
commit ba484fd66f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138039
2 changed files with 13 additions and 10 deletions

View File

@ -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

View File

@ -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