Makefile 643 B

123456789101112131415161718192021222324252627282930
  1. # $OpenBSD: Makefile,v 1.18 2014/08/30 21:54:08 jasper Exp $
  2. COMMENT= scans webservers for vulnerable CGI programs
  3. PKGNAME= cgichk-3.6
  4. DISTNAME= cgichk3.6
  5. EXTRACT_SUFX= .tgz
  6. CATEGORIES= security
  7. PERMIT_PACKAGE_CDROM= Yes
  8. WANTLIB= c
  9. WRKDIST= ${WRKDIR}/cgichk3
  10. MAKE_FLAGS= CC='${CC}' CFLAGS='${CFLAGS} \
  11. -DCGICHK_CONF="\"${SYSCONFDIR}/cgichk.conf\""'
  12. MAKE_ENV= SYSCONFDIR="${SYSCONFDIR}"
  13. NO_TEST= Yes
  14. do-install:
  15. ${INSTALL_PROGRAM} ${WRKSRC}/cgichk ${PREFIX}/bin
  16. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cgichk
  17. ${INSTALL_DATA} ${WRKSRC}/cgi.conf \
  18. ${PREFIX}/share/examples/cgichk/cgichk.conf
  19. .include <bsd.port.mk>