Hi,
I am trying to make a port for phpredis.
This is what I have:
Makefile:
The php5-redis-1.2.0.tar.gz is in the root directory of localhost (for testing).
Fetching and unpacking works, but I get "make: cannot open Makefile."
My aim is to run phpize, ./configure, make and make install but I have no idea how to do it.
I read the Porters handbook but I dont see the mistake here.
Can anybody help?
Thanks a lot in advance!
EDIT:
I added the following lines which work if I call them directly (by make do-make etc) but this is not the way it should work:
I am trying to make a port for phpredis.
This is what I have:
Makefile:
Code:
# New ports collection makefile for: php-redis
# Date created: 9 April 2010
# Whom: ben
#
# $FreeBSD$
#
PORTNAME= php5-redis
PORTVERSION= 1.2.0
CATEGORIES= databases
MASTER_SITES= http://localhost/
MAINTAINER= some@mail.net
COMMENT= PHP5-Extension for Redis
USE_PHPIZE= yes
PLIST_FILES= lib/php/20060613/redis.so
.include <bsd.port.mk>
Fetching and unpacking works, but I get "make: cannot open Makefile."
My aim is to run phpize, ./configure, make and make install but I have no idea how to do it.
I read the Porters handbook but I dont see the mistake here.
Can anybody help?
Thanks a lot in advance!
EDIT:
I added the following lines which work if I call them directly (by make do-make etc) but this is not the way it should work:
Code:
do-make:
cd ${WRKSRC}/${PORTNAME}-${PORTVERSION}/ && /usr/local/bin/phpize
cd ${WRKSRC}/${PORTNAME}-${PORTVERSION}/ && ./configure
cd ${WRKSRC}/${PORTNAME}-${PORTVERSION}/ && /usr/bin/make
do-install:
cd ${WRKSRC}/${PORTNAME}-${PORTVERSION}/ && make install