aboutsummaryrefslogtreecommitdiff
path: root/databases/gnats/Makefile
blob: c45be316f90020c1527dedbb1d0ea8eab7372bee (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
41
42
# New ports collection makefile for:	gnats
# Version required:     3.97-beta
# Date created:		10 November 1995
# Whom:			pst
#
# $Id: Makefile,v 1.6 1996/08/03 19:11:26 pst Exp $
#

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

MAINTAINER=	pst@FreeBSD.org

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

NO_PACKAGE=	"Requires gnats UID"
GNU_CONFIGURE=	yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
		--with-lispdir=${PREFIX}/share/emacs/site-lisp \
		--with-full-gnats
USE_GMAKE=	yes

# 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>