freebsd-ports/graphics/pecl-qrencode/Makefile
Ion-Mihai Tetcu c7c5c72d9f Fix missuage of PREFIX when LOCALBASE is needed thus fix build with custom
LOCALBASE

Reported by:	QATty
Approved by:	portmgr (itetcu@)
2009-06-10 15:56:48 +00:00

29 lines
629 B
Makefile

# New ports collection makefile for: pecl-qrencode
# Date created: Apr 16 2007
# Whom: vanilla
#
# $FreeBSD$
#
PORTNAME= qrencode
PORTVERSION= 0.3
CATEGORIES= graphics pear
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= vanilla
PKGNAMEPREFIX= pecl-
DIST_SUBDIR= PECL
MAINTAINER= vanilla@FreeBSD.org
COMMENT= A PECL extension for generate qrcode
LIB_DEPENDS= qrencode.3:${PORTSDIR}/graphics/libqrencode
USE_PHP= yes
USE_PHPEXT= yes
USE_BZIP2= yes
CONFIGURE_ARGS= --with-qrencode=${LOCALBASE}
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${EXTRA_LIBS}"
.include <bsd.port.mk>