mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
f4b9e5c40a
PR: 269921 Reported by: rcm@rcm.sh Approved by: maintainer(timeout, > 30 days)
37 lines
941 B
Makefile
37 lines
941 B
Makefile
PORTNAME= zephir
|
|
DISTVERSION= 0.17.0
|
|
CATEGORIES= lang
|
|
MASTER_SITES= https://github.com/zephir-lang/${PORTNAME}/releases/download/${DISTVERSION}/
|
|
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME}
|
|
EXTRACT_SUFX= .phar
|
|
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= cmcdonald@netgate.com
|
|
COMMENT= Zephir is a transpiled language used for creating C-extensions for PHP
|
|
WWW= https://github.com/zephir-lang/zephir
|
|
|
|
LICENSE= MIT
|
|
|
|
RUN_DEPENDS= re2c>0:devel/re2c
|
|
|
|
USES= php:cli,flavors
|
|
USE_PHP= dom filter iconv phar xml zephir_parser zlib
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
PLIST_FILES= bin/${DISTNAME} \
|
|
bin/${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
do-extract:
|
|
${MKDIR} ${WRKSRC}/
|
|
${CP} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKSRC}/
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} ${STAGEDIR}${PREFIX}/bin/
|
|
${LN} -s ${DISTNAME}${EXTRACT_SUFX} ${STAGEDIR}${PREFIX}/bin/${DISTNAME}
|
|
|
|
.include <bsd.port.mk>
|