mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
40843b1ccb
apache22 and apache25 had been removed a long time ago however the apache.mk file has never been refactored and is out of sync from the file Mk/bsd.default-versions.mk. These changes refactors the removals of the older versions. In addition: - Move some keywords like USE_APACHE, USE_APACHE_BUILD, USE_APACHE_RUN from SANITY_DEPRECATED to SANITY_UNSUPPORTED - Remove apache versions from ports Makefiles as currently there is only one available version in the tree. However the version checks are still valid and should work flawlessly whenever a new version is added. For example USES=apache:2.2+ are simply replaced with USES=apache. As currently there are no other versions available for test this could not be checked on it's own ground. - Update FOO_USE=APACHE=yes to FOO_USES=apache - Remove trailing whitespaces Approved by: portmgr Differential Revision: https://reviews.freebsd.org/D38113
43 lines
925 B
Makefile
43 lines
925 B
Makefile
PORTNAME= dojo
|
|
PORTVERSION= 1.12.2
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://download.dojotoolkit.org/release-${PORTVERSION}/
|
|
DISTNAME= dojo-release-${PORTVERSION}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Open-source DHTML toolkit written in JavaScript
|
|
WWW= https://dojotoolkit.org/
|
|
|
|
USES= cpe
|
|
CPE_VENDOR= linuxfoundation
|
|
|
|
NO_BUILD= yes
|
|
SHAREOWN= www
|
|
SHAREGRP= www
|
|
|
|
OPTIONS_DEFINE= APACHE
|
|
OPTIONS_SUB= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MAPACHE}
|
|
USES= apache:run cpe
|
|
CPE_VENDOR= linuxfoundation
|
|
CONFDIR= ${PREFIX}/${CONFDIR_REL}
|
|
CONFDIR_REL= ${APACHEETCDIR}/Includes
|
|
PLIST_SUB+= CONFDIR=${CONFDIR_REL}
|
|
|
|
CONF= dojo.conf
|
|
SUB_FILES+= pkg-message ${CONF}
|
|
.endif
|
|
|
|
do-install:
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
|
|
|
|
.if ${PORT_OPTIONS:MAPACHE}
|
|
@${MKDIR} ${STAGEDIR}${CONFDIR}
|
|
${CP} ${WRKDIR}/${CONF} ${STAGEDIR}${CONFDIR}/dojo.conf.sample
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|