From 90b644a5e4adcae0bded36f3a33336ccb690ebf7 Mon Sep 17 00:00:00 2001 From: des Date: Wed, 13 Mar 2002 16:38:13 +0000 Subject: Make things easier for admins@: move aside gnats-db and symlink it to /home/gnats. Bump PORTREVISION. --- databases/gnats/Makefile | 8 +++++++- databases/gnats/pkg-plist | 29 +++++++++++++++-------------- 2 files changed, 22 insertions(+), 15 deletions(-) (limited to 'databases') 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 -- cgit