openbsd-ports/net/dsocks/Makefile
2010-08-23 15:44:26 +00:00

38 lines
765 B
Makefile

# $OpenBSD: Makefile,v 1.8 2010/08/23 15:44:26 jasper Exp $
COMMENT= SOCKS client wrapper for *BSD
DISTNAME= dsocks-1.6
REVISION= 0
CATEGORIES= net
SHARED_LIBS= dsocks 1.0
HOMEPAGE= http://monkey.org/~dugsong/dsocks/
MAINTAINER= Todd T. Fries <todd@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
MAKE_FLAGS= SHLIB_MAJOR=${LIBdsocks_VERSION:R} \
SHLIB_MINOR=${LIBdsocks_VERSION:E}
FAKE_FLAGS= DEBUGLIBS=No
# See bsd.lib.mk:162
.if ${MACHINE_ARCH:Mmips64*}
PKG_ARGS+= -Dno_mips64=0
.else
PKG_ARGS+= -Dno_mips64=1
.endif
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/dsocks.sh ${WRKSRC}/dsocks-torify.sh \
${PREFIX}/bin
.include <bsd.port.mk>