aboutsummaryrefslogtreecommitdiff
path: root/www/ajaxplorer/Makefile
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2013-06-01 13:05:48 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2013-06-01 13:05:48 +0000
commite645ec7bc4efb9e41ac9a10de266746ad9b47244 (patch)
treefe4e49433127d84c126fbc3ea67bccb1531c8ce2 /www/ajaxplorer/Makefile
parent95bf33a5563d419a9e2110324e7fdeafaf5383d2 (diff)
Notes
Diffstat (limited to 'www/ajaxplorer/Makefile')
-rw-r--r--www/ajaxplorer/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/www/ajaxplorer/Makefile b/www/ajaxplorer/Makefile
new file mode 100644
index 000000000000..7957293827f7
--- /dev/null
+++ b/www/ajaxplorer/Makefile
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME= ajaxplorer
+PORTVERSION= 4.2.3
+CATEGORIES= www
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/stable-channel/${PORTVERSION}
+DISTNAME= ${PORTNAME}-core-${PORTVERSION}
+
+MAINTAINER= madpilot@FreeBSD.org
+COMMENT= Ajax web file management system
+
+LICENSE= AGPLv3
+
+NO_BUILD= yes
+USE_PHP= dom mcrypt gd
+USE_DOS2UNIX= yes
+DOS2UNIX_REGEX= .*\.php
+WANT_PHP_WEB= yes
+SUB_FILES= pkg-deinstall pkg-message
+
+do-install:
+ ${MKDIR} ${WWWDIR}
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} "* .htaccess" ${WWWDIR})
+ ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
+
+post-install:
+ @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST}
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>