aboutsummaryrefslogtreecommitdiff
path: root/databases/gnats/Makefile
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2002-03-13 16:38:13 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2002-03-13 16:38:13 +0000
commit6d10e1a5a08bec3a1620061c2efe684492d51283 (patch)
tree11d6edadd371549e1d97ee1fab6409d5f7605823 /databases/gnats/Makefile
parent4bea60e9a86df24ebb70cc302608896a867839e9 (diff)
downloadports-6d10e1a5a08bec3a1620061c2efe684492d51283.tar.gz
ports-6d10e1a5a08bec3a1620061c2efe684492d51283.zip
Notes
Diffstat (limited to 'databases/gnats/Makefile')
-rw-r--r--databases/gnats/Makefile8
1 files changed, 7 insertions, 1 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