2008-07-02 14:16:40 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2008/07/02 18:16:40 brad Exp $
|
2001-01-12 12:14:51 -05:00
|
|
|
|
2007-09-15 16:34:00 -04:00
|
|
|
COMMENT= GNU Problem Report Management System
|
2001-01-12 12:14:51 -05:00
|
|
|
|
2002-05-09 12:16:02 -04:00
|
|
|
DISTNAME= gnats-3.113.1
|
2008-07-02 14:16:40 -04:00
|
|
|
PKGNAME= ${DISTNAME}p5
|
2001-01-12 12:14:51 -05:00
|
|
|
CATEGORIES= databases devel
|
2003-04-05 22:41:55 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=gnats/}
|
2001-01-12 12:14:51 -05:00
|
|
|
|
2003-04-05 22:41:55 -05:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/gnats/
|
|
|
|
|
2008-07-02 14:16:40 -04:00
|
|
|
# GPLv2+
|
2001-01-12 12:14:51 -05:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2004-11-22 11:59:29 -05:00
|
|
|
WANTLIB= c
|
2001-01-12 12:14:51 -05:00
|
|
|
|
2003-04-05 22:41:55 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu dest
|
2003-06-22 06:05:28 -04:00
|
|
|
CONFIGURE_ARGS+=--with-full-gnats --with-release-based --with-gnats-user=_gnats
|
2001-01-12 12:14:51 -05:00
|
|
|
CONFIGURE_ENV+= SEND_PR=/usr/bin/false
|
|
|
|
|
|
|
|
INSTALL_TARGET= install-gnats install-send-pr install-info
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnats/
|
|
|
|
sed "s%y0y0y0%${TRUEPREFIX}%g" ${FILESDIR}/README.OpenBSD > \
|
|
|
|
${PREFIX}/share/doc/gnats/README.OpenBSD
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnats/
|
|
|
|
sed "s%/var/lib%${TRUEPREFIX}/share%g" \
|
|
|
|
${WRKDIST}/gnats/gnats-db.conf > \
|
|
|
|
${PREFIX}/share/examples/gnats/gnats-db.conf
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIST}/contrib/gnatsweb/gnatsweb.pl \
|
|
|
|
${PREFIX}/lib/gnatsweb
|
2003-09-01 01:13:17 -04:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/contrib/gnatsweb/gnats.pm \
|
|
|
|
${PREFIX}/libdata/perl5/site_perl
|
2001-01-12 12:14:51 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|