summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-11-21 01:48:46 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-11-21 01:48:46 +0000
commita6a5407e60d3818620f363ac72617fd53365a8a9 (patch)
tree6d4e4eeea1398f3afca060b98fe27caabcd615b0
parentRemove OGI support (see ports/audio/festival+OGI). (diff)
add MT-PM 0.1
Movable Type Plugin Manager
Notes
Notes: svn path=/head/; revision=94587
-rw-r--r--www/MT-PM/Makefile61
-rw-r--r--www/MT-PM/distinfo2
-rw-r--r--www/MT-PM/pkg-descr6
-rw-r--r--www/MT-PM/pkg-plist20
-rw-r--r--www/Makefile1
5 files changed, 90 insertions, 0 deletions
diff --git a/www/MT-PM/Makefile b/www/MT-PM/Makefile
new file mode 100644
index 000000000000..5720a7278fea
--- /dev/null
+++ b/www/MT-PM/Makefile
@@ -0,0 +1,61 @@
+# ex:ts=8
+# Ports collection makefile for: Movable Type Plugin Manager
+# Date created: Nov 21, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= MT-PM
+PORTVERSION= 0.1
+CATEGORIES= www
+MASTER_SITES= http://manager.mt-plugins.org/ \
+ http://mt-plugins.org/
+DISTFILES= PluginManager-${PORTVERSION}${EXTRACT_SUFX} \
+ archives.xml
+EXTRACT_ONLY= PluginManager-${PORTVERSION}${EXTRACT_SUFX}
+IGNOREFILES= archives.xml
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Movable Type Plugin Manager
+
+RUN_DEPENDS= ${CGIDIR}/mt.cgi:${PORTSDIR}/www/MT \
+ ${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple \
+ ${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \
+ ${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
+ ${SITE_PERL}/IO/Zlib.pm:${PORTSDIR}/archivers/p5-IO-Zlib \
+ ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
+ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
+
+USE_PERL5_RUN= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+DATADIR= ${PREFIX}/www/data/mt
+CGIDIR= ${PREFIX}/www/cgi-bin/mt
+
+PLIST_SUB+= DATADIR="${DATADIR:S,^${PREFIX}/,,}" \
+ CGIDIR="${CGIDIR:S,^${PREFIX}/,,}"
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/mt-pm.cgi ${CGIDIR}
+ @${MKDIR} ${CGIDIR}/extlib/MT/Plugins
+ ${INSTALL_DATA} ${WRKSRC}/Manager.pm ${CGIDIR}/extlib/MT/Plugins
+ @${MKDIR} ${CGIDIR}/tmpl/plugins
+ ${INSTALL_DATA} ${WRKSRC}/tmpl/*.tmpl ${CGIDIR}/tmpl/plugins
+ ${INSTALL_DATA} ${WRKSRC}/tmpl/styles-pm.css ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/tmpl/dot.gif ${DATADIR}/images
+
+post-install:
+ ${INSTALL_DATA} ${DISTDIR}/archives.xml ${CGIDIR}/plugins/plugins.xml
+ @${MKDIR} ${CGIDIR}/plugins/docs ${CGIDIR}/plugins/manager-cache
+ @${CHOWN} -R www:www ${CGIDIR}/mt-pm.cgi \
+ ${CGIDIR}/extlib/MT/Plugins/Manager.pm \
+ ${CGIDIR}/tmpl/plugins \
+ ${DATADIR}/styles-pm.css \
+ ${DATADIR}/images/dot.gif \
+ ${CGIDIR}/plugins/plugins.xml \
+ ${CGIDIR}/plugins/docs \
+ ${CGIDIR}/plugins/manager-cache
+
+.include <bsd.port.mk>
diff --git a/www/MT-PM/distinfo b/www/MT-PM/distinfo
new file mode 100644
index 000000000000..f7dcb02cea36
--- /dev/null
+++ b/www/MT-PM/distinfo
@@ -0,0 +1,2 @@
+MD5 (PluginManager-0.1.tar.gz) = 19c8c79607c4705e0b25ed9653954f5b
+MD5 (archives.xml) = IGNORE
diff --git a/www/MT-PM/pkg-descr b/www/MT-PM/pkg-descr
new file mode 100644
index 000000000000..ac35f25bc633
--- /dev/null
+++ b/www/MT-PM/pkg-descr
@@ -0,0 +1,6 @@
+The MT Plugin Manager is a tool to install and manage your plugins. You'll have
+access to install, uninstall, upgrade, and check requirements all in one place,
+as well as easy links to get more information. The MT Plugin Manager uses
+information from the MT Plugin Directory to let you easily manage your plugins.
+
+WWW: http://manager.mt-plugins.org/
diff --git a/www/MT-PM/pkg-plist b/www/MT-PM/pkg-plist
new file mode 100644
index 000000000000..bdb9d81f93da
--- /dev/null
+++ b/www/MT-PM/pkg-plist
@@ -0,0 +1,20 @@
+%%CGIDIR%%/mt-pm.cgi
+%%CGIDIR%%/extlib/MT/Plugins/Manager.pm
+@dirrm %%CGIDIR%%/extlib/MT/Plugins
+%%CGIDIR%%/tmpl/plugins/bottom.tmpl
+%%CGIDIR%%/tmpl/plugins/copyright.tmpl
+%%CGIDIR%%/tmpl/plugins/error.tmpl
+%%CGIDIR%%/tmpl/plugins/info.tmpl
+%%CGIDIR%%/tmpl/plugins/list_plugins.tmpl
+%%CGIDIR%%/tmpl/plugins/login.tmpl
+%%CGIDIR%%/tmpl/plugins/logonav.tmpl
+%%CGIDIR%%/tmpl/plugins/manual_install.tmpl
+%%CGIDIR%%/tmpl/plugins/requirements.tmpl
+%%CGIDIR%%/tmpl/plugins/sidebar.tmpl
+%%CGIDIR%%/tmpl/plugins/top.tmpl
+@dirrm %%CGIDIR%%/tmpl/plugins
+%%DATADIR%%/styles-pm.css
+%%DATADIR%%/images/dot.gif
+%%CGIDIR%%/plugins/plugins.xml
+@dirrm %%CGIDIR%%/plugins/docs
+@dirrm %%CGIDIR%%/plugins/manager-cache
diff --git a/www/Makefile b/www/Makefile
index bb4c79989b80..86d1ec8b92fc 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2,6 +2,7 @@
#
SUBDIR += MT
+ SUBDIR += MT-PM
SUBDIR += Mosaic # requires Motif
SUBDIR += WebMagick
SUBDIR += abcache