43 lines
969 B
Makefile
43 lines
969 B
Makefile
|
# $OpenBSD: Makefile,v 1.1.1.1 2005/04/30 13:27:17 alek Exp $
|
||
|
|
||
|
COMMENT= "socat is a relay for bidirectional data transfer"
|
||
|
|
||
|
DISTNAME= socat-1.4.0.3
|
||
|
CATEGORIES= net
|
||
|
|
||
|
HOMEPAGE= http://www.dest-unreach.org/socat/
|
||
|
|
||
|
MAINTAINER= Jon Trembley <jon@brain-box.net>
|
||
|
|
||
|
# 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
|
||
|
|
||
|
NO_REGRESS= Yes
|
||
|
|
||
|
CONFIGURE_STYLE=gnu
|
||
|
|
||
|
WRKDIST= ${WRKDIR}/socat-1.4
|
||
|
|
||
|
pre-build:
|
||
|
perl -pi -e "s,!!LOCALBASE!!,${LOCALBASE},g" ${WRKSRC}/socat.1
|
||
|
|
||
|
post-install:
|
||
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/socat
|
||
|
.for file in FAQ README SECURITY xio.help socat.html
|
||
|
${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>
|