1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- # $OpenBSD: Makefile,v 1.22 2015/02/17 22:39:31 naddy Exp $
- COMMENT= client for anonymous remailing
- DISTNAME= mixmaster-2.9.1
- REVISION= 2
- CATEGORIES= mail security
- # custom
- PERMIT_PACKAGE_CDROM= only with patch notice
- PERMIT_PACKAGE_FTP= only with patch notice
- PERMIT_DISTFILES_FTP= Yes
- WANTLIB= c crypto curses z
- MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mixmaster/}
- MASTER_SITES0= http://distfiles.nl/
- 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_TEST= Yes
- MIXMASTER_FILES=${WRKDIST}/conf/* ${WRKDIST}/README \
- ${WRKDIR}/mixmaster-update.pl ${WRKDIR}/allpingers.txt
- post-patch:
- @cp ${FILESDIR}/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>
|