You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/freebsd/dependencies/imlib/Makefile

45 lines
1.2 KiB

# -*-mode: makefile-*-
# Created by: slavek.banko@axis.cz
# $FreeBSD$
#
.include <../../trinity.port.mk>
PORTNAME= imlib
COMMENT= A graphic library for enlightenment package
MASTER_SITE_SUBDIR= i/${PORTNAME}
PORTVERSION= 1.9.15
PORTREVISION= 16
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_TDE_DEPS}
DISTNAME= ${PORTNAME}_${PORTVERSION}
DISTSRC= ${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= TDE/dependencies
PREFIX= ${LOCALBASE}
LIB_DEPENDS+= \
libpng.so:${PORTSDIR}/graphics/png \
libtiff.so:${PORTSDIR}/graphics/tiff \
libgif.so:${PORTSDIR}/graphics/giflib
USES+= autoreconf libtool
USE_XORG= sm xext x11
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/imlib --disable-modules
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
MAN1= imlib-config.1 imlib_config.1
pre-configure:
@${REINPLACE_CMD} -e "s|glib-config|${GLIB_CONFIG}|" ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s|@SUPPORT_LIBS@|-L${LOCALBASE}/lib @SUPPORT_LIBS@|" ${WRKSRC}/imlib-config.in
post-configure:
@${FIND} ${WRKSRC} -name "Makefile" -type f | ${XARGS} ${REINPLACE_CMD} -e \
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
.include <bsd.port.mk>