switch to lang/php

This commit is contained in:
robert 2011-07-08 21:02:33 +00:00
parent 5d7ef9d5c8
commit 97ea1bef87

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.41 2011/06/08 17:36:17 jasper Exp $ # $OpenBSD: Makefile,v 1.42 2011/07/08 21:02:33 robert Exp $
COMMENT-main= service daemon that monitors one or more GPSes COMMENT-main= service daemon that monitors one or more GPSes
COMMENT-x11= GUI test apps using gpsd COMMENT-x11= GUI test apps using gpsd
@ -14,6 +14,7 @@ SHARED_LIBS= gps 19.0 \
CATEGORIES= misc geo CATEGORIES= misc geo
REVISION-main= 0 REVISION-main= 0
REVISION-php= 0
HOMEPAGE= http://gpsd.berlios.de/ HOMEPAGE= http://gpsd.berlios.de/
@ -27,7 +28,7 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_BERLIOS:=gpsd/} MASTER_SITES= ${MASTER_SITE_BERLIOS:=gpsd/}
MODULES += lang/python MODULES += lang/python lang/php
USE_LIBTOOL= yes USE_LIBTOOL= yes
USE_GROFF = Yes USE_GROFF = Yes
CONFIGURE_STYLE= gnu CONFIGURE_STYLE= gnu
@ -45,6 +46,8 @@ BUILD_DEPENDS= textproc/libxslt \
textproc/docbook \ textproc/docbook \
textproc/docbook-xsl textproc/docbook-xsl
RUN_DEPENDS-main= ${MODPY_RUN_DEPENDS}
.if ${FLAVOR:L:Mno_x11} .if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS+= --without-x CONFIGURE_ARGS+= --without-x
CONFIGURE_ENV += LDFLAGS="-lm -pthread -lutil" CONFIGURE_ENV += LDFLAGS="-lm -pthread -lutil"
@ -60,7 +63,7 @@ WANTLIB-main= m ncurses c pthread stdc++ util
# the php display script doesn't depend on having any of gpsd around, # the php display script doesn't depend on having any of gpsd around,
# it just sits there and looks pretty. # it just sits there and looks pretty.
PKG_ARCH-php= * PKG_ARCH-php= *
RUN_DEPENDS-php= www/php5/extensions,-gd RUN_DEPENDS-php= lang/php/${MODPHP_VERSION},-gd
PREFIX-php= /var/www/ PREFIX-php= /var/www/
PYTHON_SCRIPTS= gpsprof gps/gps.py gpsfake gpscat xgps gpsspeed PYTHON_SCRIPTS= gpsprof gps/gps.py gpsfake gpscat xgps gpsspeed