Makefile 705 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.5 2016/02/18 13:50:00 sthen Exp $
  2. COMMENT = small RSA key management package
  3. V = 3.0.1
  4. PKGNAME = easy-rsa-$V
  5. DISTNAME = EasyRSA-$V
  6. EXTRACT_SUFX = .tgz
  7. CATEGORIES = security
  8. HOMEPAGE = http://openvpn.net/
  9. # GPLv2 only
  10. PERMIT_PACKAGE_CDROM = Yes
  11. MASTER_SITES = https://github.com/OpenVPN/easy-rsa/releases/download/$V/
  12. # relies on passing environment variables to $ENV:: in config files
  13. RUN_DEPENDS = security/openssl
  14. NO_BUILD = Yes
  15. NO_TEST = Yes
  16. I = ${PREFIX}/share/easy-rsa
  17. do-install:
  18. sed -i s,/usr/local,${LOCALBASE},g ${WRKSRC}/easyrsa
  19. ${INSTALL_DATA_DIR} $I
  20. cd ${WRKSRC}; pax -rw * $I
  21. rm $I/*.orig
  22. chown -R ${SHAREOWN}:${SHAREGRP} $I/*
  23. .include <bsd.port.mk>