openbsd-ports/net/socat/Makefile

42 lines
983 B
Makefile
Raw Normal View History

2008-02-14 16:36:27 -05:00
# $OpenBSD: Makefile,v 1.6 2008/02/14 21:36:27 rui Exp $
COMMENT= socat is a relay for bidirectional data transfer
DISTNAME= socat-1.6.0.0
2008-02-14 16:36:27 -05:00
PKGNAME= ${DISTNAME}p0
CATEGORIES= net
HOMEPAGE= http://www.dest-unreach.org/socat/
2008-02-14 16:36:27 -05:00
MAINTAINER= Rui Reis <rui@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/download/
WANTLIB= curses c readline crypto util ssl wrap
NO_REGRESS= Yes
CONFIGURE_STYLE=gnu
pre-build:
perl -pi -e "s,!!LOCALBASE!!,${LOCALBASE},g" ${WRKSRC}/doc/socat.1
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/socat
.for file in FAQ README SECURITY doc/xio.help doc/*.html doc/dest-unreach.css
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/socat
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/socat
.for file in EXAMPLES testcert.conf *.sh
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/examples/socat
.endfor
.include <bsd.port.mk>