diff options
author | Slávek Banko <[email protected]> | 2015-07-02 17:25:15 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2015-07-02 17:25:15 +0200 |
commit | 595d2593963dfc33e52fb3bf82fc2595dc2c0e37 (patch) | |
tree | a284a943099fabc9782c2959c6da43e2b09078ae /freebsd/dependencies/imlib/Makefile | |
parent | bb6e8f18c1d80974cd4f7a810267bd9753121f45 (diff) | |
download | tde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.tar.gz tde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.zip |
FreeBSD: Initial import
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'freebsd/dependencies/imlib/Makefile')
-rw-r--r-- | freebsd/dependencies/imlib/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/freebsd/dependencies/imlib/Makefile b/freebsd/dependencies/imlib/Makefile new file mode 100644 index 000000000..8589a899b --- /dev/null +++ b/freebsd/dependencies/imlib/Makefile @@ -0,0 +1,44 @@ +# -*-mode: makefile-*- +# Created by: [email protected] +# $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> |