diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-03-13 16:38:13 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-03-13 16:38:13 +0000 |
commit | 6d10e1a5a08bec3a1620061c2efe684492d51283 (patch) | |
tree | 11d6edadd371549e1d97ee1fab6409d5f7605823 /databases/gnats | |
parent | 4bea60e9a86df24ebb70cc302608896a867839e9 (diff) | |
download | ports-6d10e1a5a08bec3a1620061c2efe684492d51283.tar.gz ports-6d10e1a5a08bec3a1620061c2efe684492d51283.zip |
Notes
Diffstat (limited to 'databases/gnats')
-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 |