openbsd-ports/mail/mixmaster/Makefile
sturm 2d63f62521 major cleanup, inspired by Peter Palfrader
- no more sgid _mixmaster
- no more global pool
- every user has his own pool/config in ~/.Mix, with
SYSCONFDIR/mixmaster/client.cfg providing a default configuration
- add sample script to fetch remailer keys/statistics
from Peter Palfrader <peter at palfrader dot org>
- remove WWW while here
- fix a bounds warning
- bump PKGNAME
2003-09-29 20:17:49 +00:00

46 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.10 2003/09/29 20:17:49 sturm Exp $
COMMENT= "client for anonymous remailing"
VERSION= 2.9.0
DISTNAME= mixmaster-${VERSION}
PKGNAME= ${DISTNAME}p1
CATEGORIES= mail security
MAINTAINER= Nikolay Sturm <sturm@openbsd.org>
PERMIT_PACKAGE_CDROM= "only with patch notice"
PERMIT_PACKAGE_FTP= "only with patch notice"
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mixmaster/}
MASTER_SITES0= ftp://ftp.erisiandiscord.de/pub/misc/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
mixmaster-update.pl.gz:0 allpingers.txt.gz:0
HOMEPAGE= http://mixmaster.sourceforge.net/
WRKSRC= ${WRKDIST}/Src
CFLAGS+= -DGLOBALMIXCONF="\"${SYSCONFDIR}/mixmaster/client.cfg\"" \
-DHOMEMIXDIR="\".Mix\""
NO_REGRESS= Yes
MIXMASTER_FILES=${WRKDIST}/conf/* ${WRKDIST}/README \
${WRKDIR}/mixmaster-update.pl ${WRKDIR}/allpingers.txt
post-patch:
@cp files/Makefile ${WRKSRC}
pre-install:
@perl -pi -e "s,/etc,${SYSCONFDIR},g" ${WRKDIR}/mixmaster-update.pl
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mix ${PREFIX}/bin/mixmaster
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mixmaster
${INSTALL_DATA} ${MIXMASTER_FILES} ${PREFIX}/share/examples/mixmaster
${INSTALL_DATA} ${WRKDIST}/mix.1 ${PREFIX}/man/man1/mixmaster.1
.include <bsd.port.mk>