aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/n98-magerun/Makefile
blob: bb70f6e832c2de3eca197aed007177adec802716 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Melvyn Sopacua <melvyn@magemana.nl>
# $FreeBSD$

PORTNAME=   n98-magerun
PORTVERSION=    1.98.0
CATEGORIES= sysutils www
MASTER_SITES=   https://files.magerun.net/ \
        https://www.freebsd.systems/files/
EXTRACT_SUFX=   .phar

MAINTAINER= lukasz@wasikowski.net
COMMENT=    CLI tool for inspection and control of Magento installations

LICENSE=    MIT

USES=       mysql:client php:cli
USE_PHP=    phar bz2 simplexml pdo_mysql json zlib ctype dom posix

NO_ARCH=    yes
NO_BUILD=   yes

PLIST_FILES=    sbin/n98-magerun

do-extract:
    @${MKDIR} ${WRKSRC}/
    ${CP} ${_DISTDIR}/${PORTNAME}-${PORTVERSION}.phar ${WRKSRC}/

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.phar \
        ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}

.include <bsd.port.mk>