Guest User

Untitled

a guest
Jul 12th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. # New ports collection makefile for: p5-Mail-SpamAssassin-Options
  2. # Date created: March 21 2012
  3. # Whom: Jason Helfman
  4. #
  5. # $FreeBSD$
  6. #
  7.  
  8. PORTNAME= p5-Mail-SpamAssassin
  9. PKGNAMESUFFIX= -options
  10.  
  11. COMMENT= Provides optional tuning for SpamAssassin
  12.  
  13. OPTIONS+= AWL "Add AutoWhiteList Support" off \
  14. FREEMAIL "Disable FreeMail Support" off
  15.  
  16. #.include <bsd.port.options.mk>
  17.  
  18. post-patch-script:
  19. .if defined(WITH_AWL)
  20. ${REINPLACE_CMD} -e '/AWL/s/^#loadplugin/loadplugin/' ${WRKSRC}/rules/v310.pre
  21. .endif
  22. .if defined(WITH_FREEMAIL)
  23. ${REINPLACE_CMD} -e '/FreeMail/s/^loadplugin/#loadplugin/' ${WRKSRC}/rules/v330.pre
  24. .endif
  25.  
  26. MASTERDIR= ${.CURDIR}/../p5-Mail-SpamAssassin
  27.  
  28. .include "${MASTERDIR}/Makefile"
Add Comment
Please, Sign In to add comment