Makefile 616 B

123456789101112131415161718192021222324252627
  1. # $OpenBSD: Makefile,v 1.5 2015/06/17 06:16:51 bentley Exp $
  2. COMMENT= efficient SNMP scanner
  3. DISTNAME= onesixtyone-0.3.2
  4. CATEGORIES= security
  5. REVISION= 0
  6. # GPL
  7. PERMIT_PACKAGE_CDROM= Yes
  8. WANTLIB= c
  9. MASTER_SITES= http://www.phreedom.org/solar/onesixtyone/
  10. NO_TEST= Yes
  11. do-build:
  12. @perl -pi -e "s/logf/logfile/g" ${WRKSRC}/onesixtyone.c
  13. ${CC} ${CFLAGS} -o ${WRKSRC}/onesixtyone ${WRKSRC}/onesixtyone.c
  14. do-install:
  15. ${INSTALL_PROGRAM} ${WRKSRC}/onesixtyone ${PREFIX}/bin
  16. ${INSTALL_DATA_DIR} ${PREFIX}/share/onesixtyone
  17. ${INSTALL_DATA} ${WRKSRC}/dict.txt ${PREFIX}/share/onesixtyone
  18. .include <bsd.port.mk>