mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
add MT-PM 0.1
Movable Type Plugin Manager
This commit is contained in:
parent
ce2f595caf
commit
a6a5407e60
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94587
61
www/MT-PM/Makefile
Normal file
61
www/MT-PM/Makefile
Normal file
@ -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>
|
2
www/MT-PM/distinfo
Normal file
2
www/MT-PM/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (PluginManager-0.1.tar.gz) = 19c8c79607c4705e0b25ed9653954f5b
|
||||
MD5 (archives.xml) = IGNORE
|
6
www/MT-PM/pkg-descr
Normal file
6
www/MT-PM/pkg-descr
Normal file
@ -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/
|
20
www/MT-PM/pkg-plist
Normal file
20
www/MT-PM/pkg-plist
Normal file
@ -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
|
@ -2,6 +2,7 @@
|
||||
#
|
||||
|
||||
SUBDIR += MT
|
||||
SUBDIR += MT-PM
|
||||
SUBDIR += Mosaic # requires Motif
|
||||
SUBDIR += WebMagick
|
||||
SUBDIR += abcache
|
||||
|
Loading…
Reference in New Issue
Block a user