openbsd-ports/sysutils/socket/Makefile

26 lines
578 B
Makefile

# $OpenBSD: Makefile,v 1.18 2012/08/06 20:45:49 naddy Exp $
COMMENT= create tcp socket and connect to stdin/out
DISTNAME= socket-1.1
CATEGORIES= sysutils net
MASTER_SITES= http://people.freebsd.org/~wosch/src/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MAKE_FLAGS= CC="${CC}" SWITCHES="-DHAVE_SYS_PARAM_H" \
CFLAGS='$${SWITCHES} ${CFLAGS}'
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/socket ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/socket.1 ${PREFIX}/man/man1
.include <bsd.port.mk>