pkgsrc/mail/squirrelmail/options.mk
obache 59c281002a Define PATCH files related variables strictly.
works well even if define both options or one of the options.
2007-05-23 12:17:12 +00:00

21 lines
744 B
Makefile

# $NetBSD: options.mk,v 1.3 2007/05/23 12:17:12 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.squirrelmail
PKG_SUPPORTED_OPTIONS= squirrelmail-japanese squirrelmail-lite
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Msquirrelmail-japanese)
PATCHFILES+= squirrelmail-1.4.10a-ja-20070511-patch.gz
SITES.squirrelmail-1.4.10a-ja-20070511-patch.gz= \
http://www.yamaai-tech.com/~masato/Download/
PATCH_DIST_STRIP.squirrelmail-1.4.10a-ja-20070511-patch.gz= -p1
.endif
.if !empty(PKG_OPTIONS:Msquirrelmail-lite)
PATCHFILES+= squirrelmail-1.4.10a-lite-20070522-patch
SITES.squirrelmail-1.4.10a-lite-20070522-patch= \
ftp://ftp.back-street.net/pub/squirrelmail/
PATCH_DIST_STRIP.squirrelmail-1.4.10a-lite-20070522-patch= -p1
.endif