summaryrefslogtreecommitdiff
path: root/packaging/freebsd/Makefile
blob: e5e36940e65677536a592dd5822e759938a361fc (plain)
  1. # New ports collection makefile for: monkeysphere
  2. # Date created: 2008-09-11 23:38:27-0400
  3. # Whom: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
  4. #
  5. # $FreeBSD$
  6. #
  7. PORTNAME= monkeysphere
  8. PORTVERSION= 0.16~pre
  9. CATEGORIES= security
  10. MASTER_SITES= http://archive.monkeysphere.info/debian/pool/monkeysphere/m/monkeysphere/
  11. # hack for debian orig tarballs
  12. DISTFILES= ${PORTNAME}_${DISTVERSION}.orig.tar.gz
  13. # comment this out to test the port
  14. IGNORE= this port is not finished yet
  15. MAINTAINER= dkg@fifthhorseman.net
  16. COMMENT= use the OpenPGP web of trust to verify ssh connections
  17. LIB_DEPENDS= gnutls.26:${PORTSDIR}/security/gnutls
  18. RUN_DEPENDS= base64:${PORTSDIR}/converters/base64 \
  19. gpg:${PORTSDIR}/security/gnupg \
  20. lockfile:${PORTSDIR}/mail/procmail \
  21. getopt:${PORTSDIR}/misc/getopt \
  22. bash:${PORTSDIR}/shells/bash
  23. MAN1= monkeysphere.1 openpgp2ssh.1 monkeysphere-ssh-proxycommand.1
  24. MAN7= monkeysphere.7
  25. MAN8= monkeysphere-server.8
  26. MANCOMPRESSED= yes
  27. MAKE_ARGS= ETCPREFIX=/usr/local MANPREFIX=/usr/local/man ETCSUFFIX=.sample
  28. # get rid of cruft after the patching:
  29. post-patch:
  30. find . -iname '*.orig' -delete
  31. post-install:
  32. @if [ ! -f ${PREFIX}/etc/monkeysphere/monkeysphere.conf ]; then \
  33. ${CP} -p ${PREFIX}/etc/monkeysphere/monkeysphere.conf.sample ${PREFIX}/etc/monkeysphere/monkeysphere.conf ; \
  34. fi
  35. @if [ ! -f ${PREFIX}/etc/monkeysphere/monkeysphere-server.conf ]; then \
  36. ${CP} -p ${PREFIX}/etc/monkeysphere/monkeysphere-server.conf.sample ${PREFIX}/etc/monkeysphere/monkeysphere-server.conf ; \
  37. fi
  38. .include <bsd.port.mk>