freebsd-ports/textproc/p5-Text-QRCode/Makefile

29 lines
594 B
Makefile
Raw Normal View History

# Created by: chinsan
# $FreeBSD$
PORTNAME= Text-QRCode
PORTVERSION= 0.05
PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Generate text based QR Code
LICENSE= ART10 GPLv1+
2013-10-20 14:54:30 +02:00
LICENSE_COMB= dual
LIB_DEPENDS= libqrencode.so:graphics/libqrencode
USES= perl5 pkgconfig
2013-08-18 16:25:16 +02:00
USE_PERL5= configure
post-patch:
@${REINPLACE_CMD} -e 's|qrencode.h|${LOCALBASE}/include/&|' ${WRKSRC}/Makefile.PL ${WRKSRC}/QRCode.xs
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Text/QRCode/QRCode.so
.include <bsd.port.mk>