openbsd-ports/databases/gnats/Makefile

41 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.21 2008/07/02 18:16:40 brad Exp $
COMMENT= GNU Problem Report Management System
DISTNAME= gnats-3.113.1
PKGNAME= ${DISTNAME}p5
CATEGORIES= databases devel
MASTER_SITES= ${MASTER_SITE_GNU:=gnats/}
HOMEPAGE= http://www.gnu.org/software/gnats/
# GPLv2+
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
NO_REGRESS= Yes
CONFIGURE_STYLE=gnu dest
CONFIGURE_ARGS+=--with-full-gnats --with-release-based --with-gnats-user=_gnats
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
${INSTALL_DATA} ${WRKDIST}/contrib/gnatsweb/gnats.pm \
${PREFIX}/libdata/perl5/site_perl
.include <bsd.port.mk>