1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/www/xaraya/Makefile
Dmitry Marakasov 1cc8d1fff2 - Add CPE info
Approved by:	portmgr blanket
2015-05-21 11:21:46 +00:00

41 lines
873 B
Makefile

# Created by: Vsevolod Stakhov <vsevolod@highsecure.ru>
# $FreeBSD$
PORTNAME= xaraya
DISTVERSION= 2.4.0-b1
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/Jamaica%20Core/Jamaica%20${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Framework to create fully dynamic Content Management Solutions
LICENSE= GPLv2
OPTIONS_DEFINE= PGSQL MYSQL
USES= cpe tar:bzip2
CPE_VERSION= ${DISTVERSION:C/-.*//}
CPE_UPDATE= ${DISTVERSION:C/[^-]*((-.*)?)/\1/:C/-//}
USE_PHP= pcre xml simplexml
NO_BUILD= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPGSQL}
USE_PHP+= pgsql
.endif
.if ${PORT_OPTIONS:MMYSQL}
USE_PHP+= mysql
.endif
# May user to override this
XARAYADIR?= www/xaraya
PLIST_SUB+= XARAYADIR=${XARAYADIR}
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${XARAYADIR}
cd ${WRKSRC}/html && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/${XARAYADIR}
.include <bsd.port.mk>