openbsd-ports/mail/mixmaster/Makefile
2002-03-21 21:09:16 +00:00

52 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2002/03/21 21:09:17 espie Exp $
COMMENT= "client for anonymous remailing"
VERSION= 2.0.4b45
DISTNAME= mix${VERSION:S/.//g}
PKGNAME= mixmaster-${VERSION}
CATEGORIES= mail security
NEED_VERSION= 1.515
MAINTAINER= Nikolay Sturm <nikolay.sturm@desy.de>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.shinn.net/pub/remailer/mixmaster/v2.0/ \
ftp://ftp.zedz.net/pub/crypto/remailer/mixmaster/ \
http://tesla.desy.de/~nsturm/distfiles/
# this is a general mixmaster website, mixmaster itself is unmaintained
HOMEPAGE= http://mixmaster.shinn.net
SYSCONFDIR= /etc/mixmaster
WRKDIST=${WRKDIR}/Mix-${VERSION:S/.//g}
WRKSRC=${WRKDIST}/Src
NO_REGRESS= Yes
MAKE_ENV= SYSCONFDIR="${SYSCONFDIR}"
MIXMASTER_FILES=${WRKDIST}/type2.list ${WRKDIST}/mixmaster.conf.in \
${WRKDIST}/destination.block ${WRKDIST}/mix.help.in \
${WRKDIST}/pubring.mix ${WRKDIST}/source.block \
${WRKDIST}/mix.list ${WRKDIST}/urls ${WRKDIST}/headers.del \
${WRKDIST}/getlist ${WRKDIST}/keyinfo.txt.in \
${WRKDIST}/mixmaster.conf ${WRKDIST}/mix.help
post-patch:
@perl -i -p -e "s#MIXDEST#${SYSCONFDIR}#" ${WRKDIST}/getlist
post-install:
@strip ${PREFIX}/sbin/mixmaster
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mixmaster
${INSTALL_DATA} ${MIXMASTER_FILES} ${PREFIX}/share/examples/mixmaster
${INSTALL_DATA} ${WRKDIST}/mixmaster.1 ${PREFIX}/man/man1
.include <bsd.port.mk>