freebsd-ports/graphics/p5-Imlib2/Makefile
Mathieu Arnold 65a99e72a5 Move p5- ports from ports@ to perl@.
With hat:	perl@
Sponsored by:	Absolight
2015-05-11 12:04:18 +00:00

28 lines
741 B
Makefile

# Created by: Jeremy Norris <ishmael27@home.com>
# $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= perl@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 <bsd.port.mk>