30 lines
588 B
Makefile
30 lines
588 B
Makefile
# Created by: Alan Garfield <alan@fromorbit.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ps
|
|
PORTVERSION= 1.3.7
|
|
CATEGORIES= print pear
|
|
MASTER_SITES= http://pecl.php.net/get/
|
|
PKGNAMEPREFIX= pecl-
|
|
DIST_SUBDIR= PECL
|
|
|
|
MAINTAINER= alan@fromorbit.com
|
|
COMMENT= PHP extension for pslib to generate postscript
|
|
|
|
LICENSE= PHP202
|
|
|
|
LIB_DEPENDS= libps.so:${PORTSDIR}/print/pslib
|
|
|
|
USES= tar:tgz
|
|
USE_PHP= yes
|
|
USE_PHPEXT= yes
|
|
PHP_MODNAME= ${PORTNAME}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-ldl|-lintl|g' ${WRKSRC}/config.m4
|
|
|
|
test check regression-test: build
|
|
${MAKE} -C ${WRKSRC} test < /dev/null
|
|
|
|
.include <bsd.port.mk>
|