diff options
author | des <des@FreeBSD.org> | 2002-03-14 00:38:13 +0800 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-03-14 00:38:13 +0800 |
commit | 90b644a5e4adcae0bded36f3a33336ccb690ebf7 (patch) | |
tree | d4c6d439f823a776b743f136ffc36d8af1dddb53 /databases | |
parent | fe8db81cc554155bdef70ff24adb2d8ec94ad918 (diff) | |
download | freebsd-ports-gnome-90b644a5e4adcae0bded36f3a33336ccb690ebf7.tar.gz freebsd-ports-gnome-90b644a5e4adcae0bded36f3a33336ccb690ebf7.tar.zst freebsd-ports-gnome-90b644a5e4adcae0bded36f3a33336ccb690ebf7.zip |
Make things easier for admins@: move aside gnats-db and symlink it to
/home/gnats. Bump PORTREVISION.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/gnats/Makefile | 8 | ||||
-rw-r--r-- | databases/gnats/pkg-plist | 29 |
2 files changed, 22 insertions, 15 deletions
diff --git a/databases/gnats/Makefile b/databases/gnats/Makefile index f85a8d446e68..efe7815ad758 100644 --- a/databases/gnats/Makefile +++ b/databases/gnats/Makefile @@ -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 diff --git a/databases/gnats/pkg-plist b/databases/gnats/pkg-plist index f7b829b6be8e..d32250960823 100644 --- a/databases/gnats/pkg-plist +++ b/databases/gnats/pkg-plist @@ -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 |