aboutsummaryrefslogtreecommitdiff
path: root/print/pecl-pdflib
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2009-03-20 08:26:12 +0000
committerAlex Dupre <ale@FreeBSD.org>2009-03-20 08:26:12 +0000
commita44e04c93107777175a25640af06e672488e2aa0 (patch)
tree8160b6e84165cf6e396d12bbda7b3653bbe19cf6 /print/pecl-pdflib
parentd1d34ba3a93655e25d5dba91daae31dd89458648 (diff)
downloadports-a44e04c93107777175a25640af06e672488e2aa0.tar.gz
ports-a44e04c93107777175a25640af06e672488e2aa0.zip
Notes
Diffstat (limited to 'print/pecl-pdflib')
-rw-r--r--print/pecl-pdflib/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/print/pecl-pdflib/Makefile b/print/pecl-pdflib/Makefile
index 9989184110d5..96e1c473508d 100644
--- a/print/pecl-pdflib/Makefile
+++ b/print/pecl-pdflib/Makefile
@@ -25,4 +25,8 @@ PHP_MODNAME= pdf
CONFIGURE_ARGS= --with-pdflib=${LOCALBASE}
+post-extract:
+ @${ECHO_CMD} "#define PHP_PDFLIB_VERSION \"${PORTVERSION}\"" > \
+ ${WRKSRC}/php_pdflib.h
+
.include <bsd.port.mk>