blob: fca0a9f8cd3e448af1751b89a1e7bc8b3c37e6cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.16 2010/02/04 20:58:45 heinz Exp $
DISTNAME= socket-1.1
CATEGORIES= sysutils net
MASTER_SITES= http://www.freebsd.org/~wosch/src/
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Create tcp socket and connect to stdin/out
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_ENV+= INSTALLBASE=${PREFIX:Q}
PKG_OPTIONS_VAR= PKG_OPTIONS.socket
PKG_SUPPORTED_OPTIONS= inet6
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
.include "../../mk/bsd.options.mk"
###
### IPv6 support
###
.if !empty(PKG_OPTIONS:Minet6)
MAKE_ENV+= SWITCHES="-DUSE_INET6 -DHAVE_SYS_PARAM_H -Wall"
.else
MAKE_ENV+= SWITCHES="-DHAVE_SYS_PARAM_H -Wall"
.endif
.include "../../mk/bsd.pkg.mk"
|