summaryrefslogtreecommitdiff
path: root/databases/gnats/Makefile
blob: 4a4f4eb37b9b8e98f7edb5dc0c1242043c1baa66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:	gnats
# Version required:     3.97-beta
# Date created:		10 November 1995
# Whom:			pst
#
# $Id: Makefile,v 1.2 1995/11/02 08:07:29 asami Exp $
#

DISTNAME=       gnats-3.97-beta
CATEGORIES+=	databases
MASTER_SITES=   ftp://ftp.cygnus.com/pub/

# we've got some .elc and info files to compile (yuck)
BUILD_DEPENDS=	emacs:${PORTSDIR}/editors/emacs \
		gm4:${PORTSDIR}/devel/m4

GNU_CONFIGURE=	yes
USE_GMAKE=	yes

CONFIGURE_ARGS= --prefix=${PREFIX} \
		--with-lispdir=${PREFIX}/share/emacs/site-lisp \
		--with-full-gnats

# this stops the configuration program from pulling installation
# information in from the standard freebsd send-pr program
CONFIGURE_ENV=  SEND_PR=/usr/bin/false

# the gnats distribution comes with a lot of baggage we don't want to install
# just install gnats
INSTALL_TARGET=	install-gnats install-send-pr

post-build:
	(cd ${WRKSRC}/gnats;   ${MAKE} info)
	(cd ${WRKSRC}/send-pr; ${MAKE} info)

post-install:
	(cd ${WRKSRC}/gnats;   ${MAKE} install-info)
	(cd ${WRKSRC}/send-pr; ${MAKE} install-info)

.include <bsd.port.mk>