diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2023-04-22 00:00:02 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2023-04-22 20:51:11 +0200 |
commit | 4975402d7f239a520dfcbd48e03dbab43e491d68 (patch) | |
tree | 1fa8069b82399fccffe1736bbc8af73d1f3a4d93 /freebsd/dependencies/imlib/Makefile | |
parent | 718961e63499208eae72b6d4f56ae94004d41020 (diff) | |
download | tde-packaging-4975402d7f239a520dfcbd48e03dbab43e491d68.tar.gz tde-packaging-4975402d7f239a520dfcbd48e03dbab43e491d68.zip |
FreeBSD: Add ports updated for final release R14.1.0.
Add a script to synchronize ports to the FreeBSD ports structure.
Add meta-port 'tde-meta' to install all TDE ports.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/dependencies/imlib/Makefile')
-rw-r--r-- | freebsd/dependencies/imlib/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/freebsd/dependencies/imlib/Makefile b/freebsd/dependencies/imlib/Makefile new file mode 100644 index 000000000..055b37d14 --- /dev/null +++ b/freebsd/dependencies/imlib/Makefile @@ -0,0 +1,48 @@ +# -*-mode: makefile-*- +# Created by: slavek.banko@axis.cz +# $FreeBSD$ +# +# TDE port map: dependencies/imlib + +PORTSDIR?=/usr/ports +.include <${PORTSDIR}/Mk/bsd.trinity.mk> + +PORTNAME= imlib +COMMENT= A graphic library for enlightenment package +MASTER_SITE_SUBDIR= i/${PORTNAME} +PORTVERSION= 1.9.15 +PORTREVISION= 17 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_TDE_DEPS} +DISTNAME= ${PORTNAME}_${PORTVERSION} +DISTSRC= ${PORTNAME}-${PORTVERSION} +DIST_SUBDIR= TDE/dependencies +PREFIX= ${LOCALBASE} + + +LIB_DEPENDS+= \ + libpng.so:graphics/png \ + libtiff.so:graphics/tiff \ + libgif.so:graphics/giflib + +# Use gmake for automake build +USES= gmake +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> |