Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / net / ucspi-tcp / options.mk
blob92f4e289aea0994027e69326f9689cf24ad4e4fd
1 # $NetBSD: options.mk,v 1.3 2012/06/12 15:46:02 wiz Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.ucspi-tcp
4 PKG_SUPPORTED_OPTIONS+= inet6 ucspi-tcp-nodefaultrbl
5 PKG_SUGGESTED_OPTIONS+= inet6 ucspi-tcp-nodefaultrbl
7 .include "../../mk/bsd.options.mk"
9 PLIST_VARS+= inet6
10 .if !empty(PKG_OPTIONS:Minet6)
11 IPV6_PATCH= ucspi-tcp-0.88-ipv6.diff19.bz2
12 PATCHFILES+= ${IPV6_PATCH}
13 SITES.${IPV6_PATCH}= http://www.fefe.de/ucspi/
14 PATCH_DIST_STRIP.${IPV6_PATCH}= -p1
15 PLIST.inet6= yes
17 SUBST_CLASSES+= hier
18 SUBST_STAGE.hier= post-patch
19 SUBST_MESSAGE.hier= Fixing manpage path.
20 SUBST_FILES.hier= hier.c
21 SUBST_SED.hier= -e 's,man,${PKGMANDIR},'
22 .endif
24 .if !empty(PKG_OPTIONS:Mucspi-tcp-nodefaultrbl)
25 NODEFAULTRBL_PATCH= rblsmtpd-nodefaultrbl.patch
26 PATCHFILES+= ${NODEFAULTRBL_PATCH}
27 SITES.${NODEFAULTRBL_PATCH}= http://pyropus.ca/software/misc/
28 PATCH_DIST_STRIP.${NODEFAULTRBL_PATCH}= -p1
29 .endif