aboutsummaryrefslogtreecommitdiffstats
path: root/databases/gnats/Makefile
blob: 8b59af8614762e5b9ddc6dcd110d822869e4a4bf (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
43
44
45
46
47
48
49
50
51
# New ports collection makefile for:    gnats
# Version required:     3.107-beta
# Date created:     10 November 1995
# Whom:         pst
#
# $FreeBSD$
#

DISTNAME=   gnats-3.110
CATEGORIES= databases elisp
MASTER_SITES=   ftp://sourceware.cygnus.com/pub/gnats/snapshots/

MAINTAINER= pst@FreeBSD.org

Y2K=        http://sourceware.cygnus.com/gnats/

BUILD_DEPENDS=  gm4:${PORTSDIR}/devel/m4

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

USE_GMAKE=  yes
MAN1=       edit-pr.1 query-pr.1 send-pr.1
MAN7=       gnats.7
MAN8=       mkcat.8 rmcat.8 mkdist.8 queue-pr.8 file-pr.8 gen-index.8

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

pre-install:
    @PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} PRE-INSTALL

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

.include <bsd.port.mk>