diff options
author | jlam <jlam> | 2001-06-28 20:31:26 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-28 20:31:26 +0000 |
commit | 9e5808d5427fe3994143bc50e18ddf6f5044a728 (patch) | |
tree | 2552ca0cbea3d24b3cb983d080404e59a5a55fb7 /net | |
parent | cf73d84bc4f58dafe0fbd1b286debede00be539a (diff) | |
download | pkgsrc-9e5808d5427fe3994143bc50e18ddf6f5044a728.tar.gz |
Add buildlink.mk file for use by other package Makefiles.
Diffstat (limited to 'net')
-rw-r--r-- | net/socks5/buildlink.mk | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/net/socks5/buildlink.mk b/net/socks5/buildlink.mk new file mode 100644 index 00000000000..580b28d8e20 --- /dev/null +++ b/net/socks5/buildlink.mk @@ -0,0 +1,34 @@ +# $NetBSD: buildlink.mk,v 1.1 2001/06/28 20:31:26 jlam Exp $ +# +# This Makefile fragment is included by packages that use socks5. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.socks5 to the dependency pattern +# for the version of socks5 desired. +# (2) Include this Makefile fragment in the package Makefile, +# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header +# search path, and +# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search +# path. + +.if !defined(SOCKS5_BUILDLINK_MK) +SOCKS5_BUILDLINK_MK= # defined + +BUILDLINK_DEPENDS.socks5?= socks5>=1.0.2 +DEPENDS+= ${BUILDLINK_DEPENDS.socks5}:../../net/socks5 + +BUILDLINK_PREFIX.socks5= ${LOCALBASE} +BUILDLINK_FILES.socks5= include/socks.h +BUILDLINK_FILES.socks5+= lib/libsocks5.a +BUILDLINK_FILES.socks5+= lib/libsocks5_sh.* + +BUILDLINK_TARGETS.socks5= socks5-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.socks5} + +pre-configure: ${BUILDLINK_TARGETS.socks5} +socks5-buildlink: _BUILDLINK_USE + +.include "../../mk/bsd.buildlink.mk" + +.endif # SOCKS5_BUILDLINK_MK |