mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Make things easier for admins@: move aside gnats-db and symlink it to
/home/gnats. Bump PORTREVISION.
This commit is contained in:
parent
4bea60e9a8
commit
6d10e1a5a0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56014
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= gnats
|
||||
PORTVERSION= 3.113.1
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= databases elisp
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= gnats
|
||||
@ -47,6 +47,12 @@ pre-install:
|
||||
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
||||
|
||||
post-install:
|
||||
(cd ${DATADIR} && mv gnats-db gnats-db.dist)
|
||||
.if defined(WANT_FREEFALL_CFG)
|
||||
(cd ${DATADIR} && ln -s /home/gnats gnats-db)
|
||||
.else
|
||||
(cd ${DATADIR} && ln -s gnats-db-dist gnats-db)
|
||||
.endif
|
||||
(cd ${WRKSRC}/gnats; ${MAKE} install-info)
|
||||
(cd ${WRKSRC}/send-pr; ${MAKE} install-info)
|
||||
install-info ${PREFIX}/info/gnats.info ${PREFIX}/info/dir
|
||||
|
@ -54,23 +54,24 @@ share/gnats/dist/send-pr.texi
|
||||
share/gnats/dist/states.texi
|
||||
share/gnats/dist/texinfo.tex
|
||||
share/gnats/dist/version.texi
|
||||
share/gnats/gnats-db/gnats-adm/addresses
|
||||
share/gnats/gnats-db/gnats-adm/categories
|
||||
share/gnats/gnats-db/gnats-adm/classes
|
||||
share/gnats/gnats-db/gnats-adm/config
|
||||
share/gnats/gnats-db/gnats-adm/gnatsd.access
|
||||
share/gnats/gnats-db/gnats-adm/gnatsd.conf
|
||||
share/gnats/gnats-db/gnats-adm/responsible
|
||||
share/gnats/gnats-db/gnats-adm/states
|
||||
share/gnats/gnats-db/gnats-adm/submitters
|
||||
share/gnats/gnats-db
|
||||
share/gnats/gnats-db.dist/gnats-adm/addresses
|
||||
share/gnats/gnats-db.dist/gnats-adm/categories
|
||||
share/gnats/gnats-db.dist/gnats-adm/classes
|
||||
share/gnats/gnats-db.dist/gnats-adm/config
|
||||
share/gnats/gnats-db.dist/gnats-adm/gnatsd.access
|
||||
share/gnats/gnats-db.dist/gnats-adm/gnatsd.conf
|
||||
share/gnats/gnats-db.dist/gnats-adm/responsible
|
||||
share/gnats/gnats-db.dist/gnats-adm/states
|
||||
share/gnats/gnats-db.dist/gnats-adm/submitters
|
||||
@exec mkdir %D/share/gnats/gnats-db/gnats-queue
|
||||
@exec mkdir %D/share/gnats/gnats-db/gnats-adm/locks
|
||||
@exec mkdir %D/share/gnats/gnats-db/pending
|
||||
@exec chown gnats %D/share/gnats/gnats-db %D/share/gnats/gnats-db/gnats-adm %D/share/gnats/gnats-db/gnats-adm/locks %D/share/gnats/gnats-db/pending %D/share/gnats/gnats-db/gnats-queue
|
||||
@dirrm share/gnats/gnats-db/gnats-adm/locks
|
||||
@dirrm share/gnats/gnats-db/gnats-adm
|
||||
@dirrm share/gnats/gnats-db/gnats-queue
|
||||
@dirrm share/gnats/gnats-db/pending
|
||||
@dirrm share/gnats/gnats-db
|
||||
@dirrm share/gnats/gnats-db.dist/gnats-adm/locks
|
||||
@dirrm share/gnats/gnats-db.dist/gnats-adm
|
||||
@dirrm share/gnats/gnats-db.dist/gnats-queue
|
||||
@dirrm share/gnats/gnats-db.dist/pending
|
||||
@dirrm share/gnats/gnats-db.dist
|
||||
@dirrm share/gnats/dist
|
||||
@dirrm share/gnats
|
||||
|
Loading…
Reference in New Issue
Block a user