From cbd73f121a9ff363ee13f22a36ce4101e4253f0e Mon Sep 17 00:00:00 2001 From: Yen-Ming Lee Date: Tue, 12 Oct 2004 18:10:27 +0000 Subject: - add USE_GCC=2.95, update related patch, and unbreak this port - replace pkg-plist with PLIST_FILES and PLIST_DIRS - cosmetic fix which makes portlint happier PR: 71825 Submitted by: leeym Approved by: maintainer timeout --- net/xicq/Makefile | 17 +++++++---------- net/xicq/files/patch-aa | 22 ++++------------------ net/xicq/pkg-plist | 4 ---- 3 files changed, 11 insertions(+), 32 deletions(-) delete mode 100644 net/xicq/pkg-plist (limited to 'net/xicq') diff --git a/net/xicq/Makefile b/net/xicq/Makefile index 618aa3cc9e91..032253669b8c 100644 --- a/net/xicq/Makefile +++ b/net/xicq/Makefile @@ -6,7 +6,7 @@ # PORTNAME= xicq -PORTVERSION= 19980712 +PORTVERSION= 19980712 PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://projekt.pinknet.cz/ftp/ICQ/linux/Xicq/ @@ -16,21 +16,18 @@ MAINTAINER= scrappy@FreeBSD.org COMMENT= Xtropy's ICQ Client WRKSRC= ${WRKDIR}/xicq-071298 - +USE_GCC= 2.95 USE_GMAKE= yes MAKE_ENV= OPT="${CFLAGS}" -.include - -.if ${OSVERSION} >= 500113 -BROKEN= "Does not compile (bad C++ code)" -.endif +PLIST_FILES= bin/xicq ${EXAMPLESDIR:S,^${PREFIX}/,,g}/contact ${EXAMPLESDIR:S,^${PREFIX}/,,g}/config +PLIST_DIRS= ${EXAMPLESDIR:S,^${PREFIX}/,,g} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/xicq/main ${PREFIX}/bin/xicq - ${MKDIR} ${PREFIX}/share/examples/xicq + ${MKDIR} ${EXAMPLESDIR} .for file in contact config - ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/examples/xicq + ${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR} .endfor -.include +.include diff --git a/net/xicq/files/patch-aa b/net/xicq/files/patch-aa index 8c410b175c5d..d74cae9a550b 100644 --- a/net/xicq/files/patch-aa +++ b/net/xicq/files/patch-aa @@ -1,22 +1,8 @@ -diff -urN src.orig/libXicq/Makefile src/libXicq/Makefile ---- src.orig/libXicq/Makefile Tue Dec 15 19:13:57 1998 -+++ src/libXicq/Makefile Tue Dec 15 19:14:51 1998 +--- src/xicq/Makefile.orig Tue Jul 7 00:58:53 1998 ++++ src/xicq/Makefile Sat Sep 18 02:00:14 2004 @@ -1,8 +1,8 @@ - CC = g++ - SHELL = /bin/sh - INCLUDE = -I. --CFLAGS = -g -Wall $(INCLUDE) --CXXFLAGS= -g -Wall $(INCLUDE) -+CFLAGS = $(OPT) -g -Wall $(INCLUDE) -+CXXFLAGS= $(OPT) -g -Wall $(INCLUDE) - - OBJECTS = libXicq.o net.o misc.o parse.o packets.o ui2lib.o contact.o - -diff -urN src.orig/xicq/Makefile src/xicq/Makefile ---- src.orig/xicq/Makefile Tue Dec 15 19:13:59 1998 -+++ src/xicq/Makefile Tue Dec 15 19:15:08 1998 -@@ -1,8 +1,8 @@ - CC = g++ +-CC = g++ ++CC = $(CXX) SHELL = /bin/sh INCLUDE = -I. -I../libXicq -CXXFLAGS= -g -Wall $(INCLUDE) diff --git a/net/xicq/pkg-plist b/net/xicq/pkg-plist deleted file mode 100644 index 31de076da4af..000000000000 --- a/net/xicq/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/xicq -share/examples/xicq/contact -share/examples/xicq/config -@dirrm share/examples/xicq -- cgit v1.2.3