1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/net-mgmt/phpipam/Makefile
Wen Heping 017ded22bf - Update to 1.3.1
- Add missing PHP modules

PR:		226120
Submitted by:	marko.cupac@mimar.rs
Approved by:	maintainer(timeout, > 20 days)
2018-04-03 16:14:53 +00:00

42 lines
839 B
Makefile

# Created by: Jake Smith <jake@xz.cx>
# $FreeBSD$
PORTNAME= phpipam
PORTVERSION= 1.3.1
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}
MAINTAINER= jake@xz.cx
COMMENT= PHP IP Address Management IPv4/IPv6
LICENSE= GPLv3
RUN_DEPENDS= ${LOCALBASE}/share/pear/System.php:devel/pear@${PHP_FLAVOR}
NO_BUILD= yes
NO_ARCH= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
CFGFILE= config.php
SUB_FILES= pkg-message
SUB_LIST= DISTNAME=${DISTNAME}
OPTIONS_DEFINE= LDAP
USES= gettext php:web tar:
USE_PHP= filter gettext gmp json mbstring openssl \
pcntl pdo pdo_mysql session simplexml sockets
LDAP_USE= PHP=ldap
pre-install:
@if [ -f ${WRKSRC}/${CFGFILE} ]; then \
${MV} ${WRKSRC}/${CFGFILE} ${WRKSRC}/${CFGFILE}.sample ; \
fi
do-install:
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} \
"! -name *.orig")
.include <bsd.port.mk>