1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/net-mgmt/phpipam/Makefile
Bernhard Froehlich 23df31430f
net-mgmt/phpipam: Add CPE information
Approved by:    portmgr (blanket)
2021-08-31 09:23:35 +00:00

44 lines
837 B
Makefile

# Created by: Jake Smith <jake@xz.cx>
PORTNAME= phpipam
PORTVERSION= 1.4.3
CATEGORIES= net-mgmt
MAINTAINER= jake@xz.cx
COMMENT= PHP IP Address Management IPv4/IPv6
LICENSE= GPLv3
RUN_DEPENDS= ${LOCALBASE}/share/pear/System.php:devel/pear@${PHP_FLAVOR}
USES= cpe gettext php:web tar:
USE_GITHUB= yes
GH_TAGNAME= f6302da
USE_PHP= ctype curl filter gd gettext gmp iconv json mbstring mcrypt \
openssl pcntl pdo pdo_mysql session simplexml sockets
NO_ARCH= yes
NO_BUILD= yes
CFGFILE= config.php
SUB_FILES= pkg-message
SUB_LIST= DISTNAME=${DISTNAME}
OPTIONS_DEFINE= LDAP
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>