openbsd-ports/sysutils/socket/Makefile

25 lines
580 B
Makefile

# $OpenBSD: Makefile,v 1.16 2007/09/15 21:14:02 merdely 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>