diff options
author | Simon Barner <barner@FreeBSD.org> | 2005-06-06 08:45:24 +0000 |
---|---|---|
committer | Simon Barner <barner@FreeBSD.org> | 2005-06-06 08:45:24 +0000 |
commit | 01b9f86459e5c72b6c07de497b92ef759cbe0562 (patch) | |
tree | 3172adfe5aae83609a3811c3f8a35257ad2445cc /net-im | |
parent | 2895a64581da28b70d4b3ff746f8fa779e24de79 (diff) | |
download | ports-01b9f86459e5c72b6c07de497b92ef759cbe0562.tar.gz ports-01b9f86459e5c72b6c07de497b92ef759cbe0562.zip |
Notes
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/bsflite/Makefile | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/net-im/bsflite/Makefile b/net-im/bsflite/Makefile index 7b24e480a248..48a8eba5e4d6 100644 --- a/net-im/bsflite/Makefile +++ b/net-im/bsflite/Makefile @@ -14,6 +14,27 @@ MASTER_SITE_SUBDIR=bsflite MAINTAINER= ehaupt@critical.ch COMMENT= A lightweight command line AIM client +USE_REINPLACE= yes + +OSCAR_PORT?= 5190 + +.include <bsd.port.pre.mk> + +.if ${OSCAR_PORT} == "5190" +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} "Note:" + @${ECHO_MSG} "If you're behind a firewall you might want to set OSCAR_PORT" + @${ECHO_MSG} "a port other than ${OSCAR_PORT}." + @${ECHO_MSG} "" +.endif + +.if ${OSCAR_PORT} != 5190 +post-patch: + @${REINPLACE_CMD} -e 's|^\(#define OSCAR_PORT\) 5190|\1 ${OSCAR_PORT}|' \ + ${WRKSRC}/imcomm/imcomm.h +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bsflite ${PREFIX}/bin ${MKDIR} ${EXAMPLESDIR} @@ -26,4 +47,4 @@ do-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |