mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
3c088f1b9a
ports. They will be removed on or after that date if they are still broken and no fix has been submitted to GNATS.
67 lines
1.7 KiB
Makefile
67 lines
1.7 KiB
Makefile
# New ports collection makefile for: gnats
|
|
# Date created: 10 November 1995
|
|
# Whom: pst
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gnats
|
|
PORTVERSION= 3.113.1
|
|
PORTREVISION= 9
|
|
CATEGORIES= databases elisp
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= gnats
|
|
|
|
MAINTAINER= des@FreeBSD.org
|
|
COMMENT= Cygnus GNATS bug tracking system
|
|
|
|
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
|
|
|
|
FORBIDDEN= Compilation errors and security issues
|
|
EXPIRATION_DATE=2004-08-20
|
|
DEPRECATED= ${FORBIDDEN}
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --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
|
|
INFO= gnats send-pr
|
|
|
|
# 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
|
|
|
|
.if defined(WANT_FREEFALL_CFG)
|
|
EXTRA_PATCHES= ${FILESDIR}/gnats-edit-pr.patch ${FILESDIR}/file-pr.c.patch
|
|
.endif
|
|
|
|
post-build:
|
|
(cd ${WRKSRC}/gnats; ${MAKE} info)
|
|
(cd ${WRKSRC}/send-pr; ${MAKE} info)
|
|
|
|
pre-install:
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
|
|
|
post-install:
|
|
(cd ${DATADIR} && ${MV} gnats-db gnats-db.dist)
|
|
.if defined(WANT_FREEFALL_CFG)
|
|
(cd ${DATADIR} && ${LN} -s /home/gnats gnats-db)
|
|
.else
|
|
(cd ${DATADIR} && ${LN} -s gnats-db.dist gnats-db)
|
|
.endif
|
|
(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>
|