1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Support stage

Use modern LIB_DEPENDS
A bit of cosmetic changes
This commit is contained in:
Baptiste Daroussin 2014-01-28 08:34:57 +00:00
parent 44e0ec92e9
commit 5eb2b3a017
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341514

View File

@ -11,23 +11,27 @@ PKGNAMESUFFIX?= ${BACK_SUFFIX}${PKGNAMESUFFIX2}
MAINTAINER= theraven@FreeBSD.org
COMMENT= GNUstep GUI backend
LIB_DEPENDS+= gif.5:${PORTSDIR}/graphics/giflib
LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg
LIB_DEPENDS+= tiff.4:${PORTSDIR}/graphics/tiff
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
LIB_DEPENDS+= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
LICENSE_COMB= multi
LICENSE= GPLv3 LGPL3
LIB_DEPENDS+= libgif.so:${PORTSDIR}/graphics/giflib \
libjpeg.so:${PORTSDIR}/graphics/jpeg \
libtiff.so:${PORTSDIR}/graphics/tiff \
libXft.so:${PORTSDIR}/x11-fonts/libXft \
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
libfreetype.so:${PORTSDIR}/print/freetype2 \
libcairo.so:${PORTSDIR}/graphics/cairo
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-tiff-library=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-tiff-include=${LOCALBASE}/include
CONFIGURE_ARGS+= --with-jpeg-library=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-jpeg-include=${LOCALBASE}/include
CONFIGURE_ARGS+= --with-gif-library=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-gif-include=${LOCALBASE}/include
CONFIGURE_ARGS= --with-tiff-library=${LOCALBASE}/lib \
--with-tiff-include=${LOCALBASE}/include \
--with-jpeg-library=${LOCALBASE}/lib \
--with-jpeg-include=${LOCALBASE}/include \
--with-gif-library=${LOCALBASE}/lib \
--with-gif-include=${LOCALBASE}/include \
--enable-graphics=cairo \
--disable-glitz
USES= pkgconfig
USE_GNUSTEP= yes
USE_GNUSTEP_GUI= yes
@ -43,14 +47,8 @@ BACKVERSION= ${PORTVERSION:C/([0-9])*[.]([0-9]*).*/\1\2/1}
BREAKS_IF_PEDANTIC= yes
CFLAGS+= -I${LOCALBASE}/include/freetype2
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo
CONFIGURE_ARGS+= --enable-graphics=cairo
CONFIGURE_ARGS+= --disable-glitz
PLIST_SUB+= BACK=back-${BACKVERSION}
.include <bsd.port.pre.mk>
PLIST_SUB+= BACKVERSION=${PORTVERSION:C/([0-9])*[.]([0-9]*).*/\1\2/1}
pre-configure:
@ -58,4 +56,4 @@ pre-configure:
@${CP} ${GNUSTEP_PREFIX}/System/Library/Makefiles/${file} ${WRKSRC}
.endfor
.include <bsd.port.post.mk>
.include <bsd.port.mk>