1995-10-30 17:26:10 +00:00
|
|
|
# New ports collection makefile for: gnats
|
1997-08-26 22:30:07 +00:00
|
|
|
# Version required: 3.104-beta
|
1996-07-20 06:54:40 +00:00
|
|
|
# Date created: 10 November 1995
|
1995-10-30 17:26:10 +00:00
|
|
|
# Whom: pst
|
|
|
|
#
|
1998-01-24 22:17:15 +00:00
|
|
|
# $Id: Makefile,v 1.14 1997/08/26 22:29:48 pst Exp $
|
1995-10-30 17:26:10 +00:00
|
|
|
#
|
|
|
|
|
1997-08-26 22:30:07 +00:00
|
|
|
DISTNAME= gnats-3.104-beta
|
|
|
|
PKGNAME= gnats-3.104b
|
1996-11-17 03:18:45 +00:00
|
|
|
CATEGORIES= databases
|
1997-08-26 22:30:07 +00:00
|
|
|
MASTER_SITES= ftp://ftp.cygnus.com/pub/gnats/
|
1995-10-30 17:26:10 +00:00
|
|
|
|
1996-11-17 03:18:45 +00:00
|
|
|
MAINTAINER= pst@FreeBSD.org
|
1996-08-03 19:11:26 +00:00
|
|
|
|
1997-02-17 04:12:44 +00:00
|
|
|
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
|
1995-11-02 08:07:29 +00:00
|
|
|
|
1995-10-30 17:26:10 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1996-07-20 06:54:40 +00:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
|
|
--with-lispdir=${PREFIX}/share/emacs/site-lisp \
|
1997-08-26 22:30:07 +00:00
|
|
|
--with-full-gnats \
|
|
|
|
--with-release-based
|
|
|
|
|
1996-11-17 03:18:45 +00:00
|
|
|
USE_GMAKE= yes
|
1996-11-18 14:17:24 +00:00
|
|
|
MAN1= edit-pr.1 gnats.1 query-pr.1 send-pr.1
|
1997-01-11 12:17:47 +00:00
|
|
|
MAN8= mkcat.8 rmcat.8 mkdist.8 queue-pr.8 file-pr.8 gen-index.8
|
1995-10-30 17:26:10 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
1996-07-20 06:54:40 +00:00
|
|
|
post-build:
|
|
|
|
(cd ${WRKSRC}/gnats; ${MAKE} info)
|
|
|
|
(cd ${WRKSRC}/send-pr; ${MAKE} info)
|
|
|
|
|
1998-01-24 22:17:15 +00:00
|
|
|
pre-install:
|
|
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} PRE-INSTALL
|
|
|
|
|
1996-07-20 06:54:40 +00:00
|
|
|
post-install:
|
|
|
|
(cd ${WRKSRC}/gnats; ${MAKE} install-info)
|
|
|
|
(cd ${WRKSRC}/send-pr; ${MAKE} install-info)
|
1998-01-24 22:17:15 +00:00
|
|
|
if [ ! -f ${PREFIX}/info/dir ]; then \
|
|
|
|
sed -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
|
|
|
fi
|
|
|
|
install-info ${PREFIX}/info/gnats.info ${PREFIX}/info/dir
|
|
|
|
install-info ${PREFIX}/info/send-pr.info ${PREFIX}/info/dir
|
1996-07-20 06:54:40 +00:00
|
|
|
|
1995-10-30 17:26:10 +00:00
|
|
|
.include <bsd.port.mk>
|