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>
11 MASTER_SITES= http://archive.monkeysphere.info/debian/pool/monkeysphere/m/monkeysphere/
12 # hack for debian orig tarballs
13 DISTFILES= ${PORTNAME}_${DISTVERSION}.orig.tar.gz
15 # comment this out to test the port
16 IGNORE= this port is not finished yet
18 MAINTAINER= dkg@fifthhorseman.net
19 COMMENT= use the OpenPGP web of trust to verify ssh connections
21 LIB_DEPENDS= gnutls.26:${PORTSDIR}/security/gnutls
22 RUN_DEPENDS= base64:${PORTSDIR}/converters/base64 \
23 gpg:${PORTSDIR}/security/gnupg \
24 lockfile:${PORTSDIR}/mail/procmail \
25 getopt:${PORTSDIR}/misc/getopt \
26 bash:${PORTSDIR}/shells/bash
28 MAN1= monkeysphere.1 openpgp2ssh.1 monkeysphere-ssh-proxycommand.1
30 MAN8= monkeysphere-server.8
33 MAKE_ARGS= ETCPREFIX=/usr/local MANPREFIX=/usr/local/man ETCSUFFIX=.sample
35 # get rid of cruft after the patching:
37 find . -iname '*.orig' -delete
40 @if [ ! -f ${PREFIX}/etc/monkeysphere/monkeysphere.conf ]; then \
41 ${CP} -p ${PREFIX}/etc/monkeysphere/monkeysphere.conf.sample ${PREFIX}/etc/monkeysphere/monkeysphere.conf ; \
43 @if [ ! -f ${PREFIX}/etc/monkeysphere/monkeysphere-server.conf ]; then \
44 ${CP} -p ${PREFIX}/etc/monkeysphere/monkeysphere-server.conf.sample ${PREFIX}/etc/monkeysphere/monkeysphere-server.conf ; \
47 .include <bsd.port.mk>