Commit 127556432db282451b6bd406054f15e052119328
0 parents
Создание файлов порта site
Showing
4 changed files
with
82 additions
and
0 deletions
Makefile
0 → 100644
| 1 | +++ a/Makefile | ||
| 1 | +# Created by: Krasilnikov Michael <m.krasilnikov@yandex.ru> | ||
| 2 | +# $FreeBSD$ | ||
| 3 | + | ||
| 4 | +PORTNAME= site | ||
| 5 | +PORTVERSION= 0.5.0 | ||
| 6 | +PORTREVISION= 1 | ||
| 7 | +CATEGORIES= sysutils | ||
| 8 | +MASTER_SITES= http://files.dvaslona.com/distrib/ | ||
| 9 | + | ||
| 10 | +MAINTAINER= ulasov@dvaslona.ru | ||
| 11 | +COMMENT= Site management tool | ||
| 12 | + | ||
| 13 | +USE_PHP= yes | ||
| 14 | +USES= tar:bz2 | ||
| 15 | + | ||
| 16 | +RUN_DEPENDS+= dslibs-php>=0.13.0:${PORTSDIR}/misc/dslibs-php \ | ||
| 17 | + bash-completion>=2.0,1:${PORTSDIR}/shells/bash-completion | ||
| 18 | + | ||
| 19 | +do-build: | ||
| 20 | + | ||
| 21 | +do-install: | ||
| 22 | + ${INSTALL_SCRIPT} ${WRKDIR}/bin/site ${STAGEDIR}${PREFIX}/bin/site | ||
| 23 | + @(cd ${WRKDIR}/lib && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/lib) | ||
| 24 | + @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions | ||
| 25 | + ${INSTALL_DATA} ${WRKDIR}/share/bash-completion/completions/site \ | ||
| 26 | + ${STAGEDIR}${PREFIX}/share/bash-completion/completions/site | ||
| 27 | + ${INSTALL_DATA} ${WRKDIR}/etc/site.conf ${STAGEDIR}${PREFIX}/etc/site.conf.sample | ||
| 28 | + @${MKDIR} -m 750 ${STAGEDIR}${PREFIX}/etc/sudoers.d | ||
| 29 | + ${INSTALL_DATA} ${WRKDIR}/etc/sudoers.d/site ${STAGEDIR}${PREFIX}/etc/sudoers.d/site | ||
| 30 | + @${CHMOD} 440 ${STAGEDIR}${PREFIX}/etc/sudoers.d/site | ||
| 31 | + | ||
| 32 | +.include <bsd.port.mk> |
distinfo
0 → 100644
pkg-descr
0 → 100644
pkg-plist
0 → 100644
| 1 | +++ a/pkg-plist | ||
| 1 | +@sample etc/site.conf.sample | ||
| 2 | +bin/site | ||
| 3 | +etc/sudoers.d/site | ||
| 4 | +lib/site/Command/AbstractCommand.php | ||
| 5 | +lib/site/Command/CheckCommand.php | ||
| 6 | +lib/site/Command/CronCommand.php | ||
| 7 | +lib/site/Command/DisableCommand.php | ||
| 8 | +lib/site/Command/EmailCommand.php | ||
| 9 | +lib/site/Command/EnableCommand.php | ||
| 10 | +lib/site/Command/Exception/AccessDeniedException.php | ||
| 11 | +lib/site/Command/Exception/CommandNotFoundException.php | ||
| 12 | +lib/site/Command/Exception/InvalidInputException.php | ||
| 13 | +lib/site/Command/Exception/ObjectNotFoundException.php | ||
| 14 | +lib/site/Command/HelpCommand.php | ||
| 15 | +lib/site/Command/ListCommand.php | ||
| 16 | +lib/site/Command/QuotaCommand.php | ||
| 17 | +lib/site/Command/PhpCommand.php | ||
| 18 | +lib/site/Command/PropertyCommand.php | ||
| 19 | +lib/site/Command/StateCommand.php | ||
| 20 | +lib/site/Command/VersionCommand.php | ||
| 21 | +lib/site/CommandContext.php | ||
| 22 | +lib/site/CommandFactory.php | ||
| 23 | +lib/site/ConsoleArgs.php | ||
| 24 | +lib/site/Output/StandardOutput.php | ||
| 25 | +lib/site/Site.php | ||
| 26 | +lib/site/autoload.php | ||
| 27 | +lib/site/vendor/autoload.php | ||
| 28 | +lib/site/vendor/composer/ClassLoader.php | ||
| 29 | +lib/site/vendor/composer/autoload_classmap.php | ||
| 30 | +lib/site/vendor/composer/autoload_namespaces.php | ||
| 31 | +lib/site/vendor/composer/autoload_real.php | ||
| 32 | +lib/site/vendor/composer/autoload_psr4.php | ||
| 33 | +lib/site/vendor/ulrichsg/getopt-php/src/Ulrichsg/Getopt.php | ||
| 34 | +share/bash-completion/completions/site | ||
| 35 | +@dir lib/site/vendor/ulrichsg/getopt-php/src/Ulrichsg | ||
| 36 | +@dir lib/site/vendor/ulrichsg/getopt-php/src | ||
| 37 | +@dir lib/site/vendor/ulrichsg/getopt-php | ||
| 38 | +@dir lib/site/vendor/ulrichsg | ||
| 39 | +@dir lib/site/vendor/composer | ||
| 40 | +@dir lib/site/vendor | ||
| 41 | +@dir lib/site/Output | ||
| 42 | +@dir lib/site/Command/Exception | ||
| 43 | +@dir lib/site/Command | ||
| 44 | +@dir lib/site | ||
| 45 | +@mode 0750 | ||
| 46 | +@dir etc/sudoers.d | ||
| 47 | +@mode |