mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
1517ce49fc
- Take maintainership of a few ports
26 lines
627 B
Makefile
26 lines
627 B
Makefile
# Created by: Wen Heping <wenheping@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= haru
|
|
PORTVERSION= 1.0.4
|
|
CATEGORIES= print pear
|
|
MASTER_SITES= http://pecl.php.net/get/
|
|
PKGNAMEPREFIX= pecl-
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
|
COMMENT= A PECL extension to Haru PDF functions
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/hpdf.h:${PORTSDIR}/print/libharu
|
|
RUN_DEPENDS:= ${LOCALBASE}/include/hpdf.h:${PORTSDIR}/print/libharu
|
|
|
|
USE_PHP= yes
|
|
USE_PHPEXT= yes
|
|
|
|
CONFIGURE_ARGS+= --with-haru=${LOCALBASE}
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
.include <bsd.port.mk>
|