Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # $OpenBSD: Makefile,v 1.22 2015/02/17 22:39:31 naddy Exp $
  2. COMMENT= client for anonymous remailing
  3. DISTNAME= mixmaster-2.9.1
  4. REVISION= 2
  5. CATEGORIES= mail security
  6. # custom
  7. PERMIT_PACKAGE_CDROM= only with patch notice
  8. PERMIT_PACKAGE_FTP= only with patch notice
  9. PERMIT_DISTFILES_FTP= Yes
  10. WANTLIB= c crypto curses z
  11. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mixmaster/}
  12. MASTER_SITES0= http://distfiles.nl/
  13. DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
  14. mixmaster-update.pl.gz:0 allpingers.txt.gz:0
  15. HOMEPAGE= http://mixmaster.sourceforge.net/
  16. WRKSRC= ${WRKDIST}/Src
  17. CFLAGS+= -DGLOBALMIXCONF="\"${SYSCONFDIR}/mixmaster/client.cfg\"" \
  18. -DHOMEMIXDIR="\".Mix\""
  19. NO_TEST= Yes
  20. MIXMASTER_FILES=${WRKDIST}/conf/* ${WRKDIST}/README \
  21. ${WRKDIR}/mixmaster-update.pl ${WRKDIR}/allpingers.txt
  22. post-patch:
  23. @cp ${FILESDIR}/Makefile ${WRKSRC}
  24. pre-install:
  25. @perl -pi -e "s,/etc,${SYSCONFDIR},g" ${WRKDIR}/mixmaster-update.pl
  26. do-install:
  27. ${INSTALL_PROGRAM} ${WRKSRC}/mix ${PREFIX}/bin/mixmaster
  28. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mixmaster
  29. ${INSTALL_DATA} ${MIXMASTER_FILES} ${PREFIX}/share/examples/mixmaster
  30. ${INSTALL_DATA} ${WRKDIST}/mix.1 ${PREFIX}/man/man1/mixmaster.1
  31. .include <bsd.port.mk>