mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
2a888bdfdb
PR: 5506 Submitted by: Jun Kuriyama
53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
# New ports collection makefile for: gnats
|
|
# Version required: 3.104-beta
|
|
# Date created: 10 November 1995
|
|
# Whom: pst
|
|
#
|
|
# $Id: Makefile,v 1.14 1997/08/26 22:29:48 pst Exp $
|
|
#
|
|
|
|
DISTNAME= gnats-3.104-beta
|
|
PKGNAME= gnats-3.104b
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ftp://ftp.cygnus.com/pub/gnats/
|
|
|
|
MAINTAINER= pst@FreeBSD.org
|
|
|
|
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 gnats.1 query-pr.1 send-pr.1
|
|
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)
|
|
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
|
|
|
|
.include <bsd.port.mk>
|