1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Avoid hardcoding /usr/local reference

Reported by:	kris
This commit is contained in:
Pav Lucistnik 2004-05-10 09:02:05 +00:00
parent bef3401b9e
commit e4f76639cf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108811
5 changed files with 20 additions and 10 deletions

View File

@ -15,7 +15,9 @@ EXTRACT_SUFX= .tgz
MAINTAINER= esn@x123.info
COMMENT= CMS that supports pgsql and mysql
.if exists(/usr/local/lib/libpq.so.3)
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libpq.so.3)
RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
.endif
@ -65,4 +67,4 @@ do-install:
@${ECHO_MSG} " GoTo: http://<your_website>/drupal"
@${ECHO_MSG} ""
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -15,7 +15,9 @@ EXTRACT_SUFX= .tgz
MAINTAINER= esn@x123.info
COMMENT= CMS that supports pgsql and mysql
.if exists(/usr/local/lib/libpq.so.3)
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libpq.so.3)
RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
.endif
@ -65,4 +67,4 @@ do-install:
@${ECHO_MSG} " GoTo: http://<your_website>/drupal"
@${ECHO_MSG} ""
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -15,7 +15,9 @@ EXTRACT_SUFX= .tgz
MAINTAINER= esn@x123.info
COMMENT= CMS that supports pgsql and mysql
.if exists(/usr/local/lib/libpq.so.3)
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libpq.so.3)
RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
.endif
@ -65,4 +67,4 @@ do-install:
@${ECHO_MSG} " GoTo: http://<your_website>/drupal"
@${ECHO_MSG} ""
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -15,7 +15,9 @@ EXTRACT_SUFX= .tgz
MAINTAINER= esn@x123.info
COMMENT= CMS that supports pgsql and mysql
.if exists(/usr/local/lib/libpq.so.3)
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libpq.so.3)
RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
.endif
@ -65,4 +67,4 @@ do-install:
@${ECHO_MSG} " GoTo: http://<your_website>/drupal"
@${ECHO_MSG} ""
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -15,7 +15,9 @@ EXTRACT_SUFX= .tgz
MAINTAINER= esn@x123.info
COMMENT= CMS that supports pgsql and mysql
.if exists(/usr/local/lib/libpq.so.3)
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libpq.so.3)
RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
.endif
@ -65,4 +67,4 @@ do-install:
@${ECHO_MSG} " GoTo: http://<your_website>/drupal"
@${ECHO_MSG} ""
.include <bsd.port.mk>
.include <bsd.port.post.mk>