# Created by: Jeremy Norris # $FreeBSD$ PORTNAME= Imlib2 PORTVERSION= 1.0.0 PORTREVISION= 12 CATEGORIES= graphics perl5 MASTER_SITES= http://www.muhri.net/ PKGNAMEPREFIX= p5- DISTNAME= ${PORTNAME}-Perl-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Perl bindings for Imlib2 LIB_DEPENDS= libImlib2.so:${PORTSDIR}/graphics/imlib2 USES= perl5 USE_PERL5= configure post-patch: @${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' ${WRKSRC}/Makefile.PL post-install: ${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Imlib2/Imlib2.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Imlib2/Imlib2.so ${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Imlib2/Imlib2.so .include