From b8ba2c2df9e73068bc7c12122379d7a0a72fa9cf Mon Sep 17 00:00:00 2001 From: ehaupt Date: Mon, 9 Jan 2006 20:06:15 +0000 Subject: - Update to 0.81 - Remove two patches --- net-im/bsflite/Makefile | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) (limited to 'net-im/bsflite/Makefile') diff --git a/net-im/bsflite/Makefile b/net-im/bsflite/Makefile index ecf2a7573140..3e6ff5dc1829 100644 --- a/net-im/bsflite/Makefile +++ b/net-im/bsflite/Makefile @@ -6,7 +6,7 @@ # PORTNAME= bsflite -DISTVERSION= 0.80 +DISTVERSION= 0.81 CATEGORIES= net-im MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR=bsflite @@ -16,24 +16,14 @@ COMMENT= A lightweight command line AIM client USE_REINPLACE= yes -OSCAR_PORT?= 5190 +PLIST_FILES= bin/bsflite %%EXAMPLESDIR%%/config-example +PLIST_DIRS= %%EXAMPLESDIR%% +PORTDOCS= COPYING ChangeLog README -.include - -.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 + @${REINPLACE_CMD} -E '/^(CC|CFLAGS)/d' \ + ${WRKSRC}/${MAKEFILE} \ + ${WRKSRC}/imcomm/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bsflite ${PREFIX}/bin @@ -42,9 +32,9 @@ do-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} -.for f in COPYING ChangeLog README +.for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif -.include +.include -- cgit