Makefile 953 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD: Makefile,v 1.36 2017/05/07 19:28:55 schwarze Exp $
  2. COMMENT= GNU Problem Report Management System
  3. DISTNAME= gnats-3.113.1
  4. REVISION= 17
  5. CATEGORIES= databases devel
  6. MASTER_SITES= ${MASTER_SITE_GNU:=gnats/}
  7. HOMEPAGE= https://www.gnu.org/software/gnats/
  8. # GPLv2+
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB= c
  11. NO_TEST= Yes
  12. RUN_DEPENDS= www/p5-CGI
  13. CONFIGURE_STYLE=gnu dest
  14. CONFIGURE_ARGS+=--with-full-gnats --with-release-based --with-gnats-user=_gnats
  15. CONFIGURE_ENV+= SEND_PR=/usr/bin/false
  16. INSTALL_TARGET= install-gnats install-send-pr install-info
  17. post-install:
  18. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnats/
  19. sed "s%/var/lib%${TRUEPREFIX}/share%g" \
  20. ${WRKDIST}/gnats/gnats-db.conf > \
  21. ${PREFIX}/share/examples/gnats/gnats-db.conf
  22. ${INSTALL_PROGRAM} ${WRKDIST}/contrib/gnatsweb/gnatsweb.pl \
  23. ${PREFIX}/lib/gnatsweb
  24. ${INSTALL_DATA} ${WRKDIST}/contrib/gnatsweb/gnats.pm \
  25. ${PREFIX}/libdata/perl5/site_perl
  26. .include <bsd.port.mk>