1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

- Update to 1.0.7 [1]

- depreciate own hackish MANTISDIR in favor od WWWDIR [2]

PR:		ports/113780
Submitted by:	Nils Vogels [1], itetcu@ (me) [2]
Approved by:	Dan Langille [1], [2] (on IRC)
This commit is contained in:
Ion-Mihai Tetcu 2007-06-17 21:10:29 +00:00
parent a922f76e88
commit a69b5082a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193737
4 changed files with 577 additions and 574 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= mantis
PORTVERSION= 1.0.6
PORTVERSION= 1.0.7
CATEGORIES= databases www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mantisbt
@ -19,18 +19,23 @@ USE_MYSQL= yes
USE_APACHE= yes
USE_PHP= yes
MANTISDIR?= www/${PORTNAME}
SUB_FILES= pkg-message
SUB_LIST= MANTISDIR=${MANTISDIR}
PLIST_SUB= MANTISDIR=${MANTISDIR}
PLIST_SUB+= WWWDIR_REL=${WWWDIR_REL}
.ifdef(MANTISDIR)
WWWDIR= ${MATISDIR}
DMSG= "Usage of MATISDIR is depreciated and will be dropped in future versions, please use WWWDIR instead."
.endif
pre-everything::
@${ECHO_CMD} ${DMSG}
do-install:
@${ECHO} "Installing in ${PREFIX}/${MANTISDIR}"
${MKDIR} ${PREFIX}/${MANTISDIR}
${CP} -R ${WRKSRC}/* ${PREFIX}/${MANTISDIR}
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MANTISDIR}
@${ECHO} "Installing in WWWDIR: ${WWWDIR}"
${MKDIR} ${WWWDIR}
${CP} -R ${WRKSRC}/* ${WWWDIR}
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
post-install:
@${CAT} ${PKGMESSAGE}

View File

@ -1,3 +1,3 @@
MD5 (mantis-1.0.6.tar.gz) = 64af171288bad777d6a1bba493e4a88b
SHA256 (mantis-1.0.6.tar.gz) = 6c43086aa5dc548e666d178ad0a60ee6e7a27b70af2341ae06d2423111301b03
SIZE (mantis-1.0.6.tar.gz) = 1638568
MD5 (mantis-1.0.7.tar.gz) = 242f127edfc487889c9089d6b0fbf737
SHA256 (mantis-1.0.7.tar.gz) = 6ae9d74e51d72c4a633bb0e915e09439af641bc09c61f228ef285c54473336ea
SIZE (mantis-1.0.7.tar.gz) = 1574379

View File

@ -2,14 +2,14 @@
=============================================================
Everything has been installed to:
%%PREFIX%%/%%MANTISDIR%%
%%WWWDIR%%
To make Mantis available through your web site, I suggest
that you add something like the following to httpd.conf:
Alias /mantis/ "%%PREFIX%%/%%MANTISDIR%%/"
Alias /mantis/ "%%WWWDIR%%/"
<Directory "%%PREFIX%%/%%MANTISDIR%%/">
<Directory "%%WWWDIR%%/">
Options None
AllowOverride None
@ -17,6 +17,6 @@ that you add something like the following to httpd.conf:
Allow from all
</Directory>
Also be sure to read %%PREFIX%%/%%MANTISDIR%%/doc/INSTALL
Also be sure to read %%WWWDIR%%/doc/INSTALL
=============================================================

File diff suppressed because it is too large Load Diff