From 1cb218b8f879ff147ac8601be4df8bb99a45d7ab Mon Sep 17 00:00:00 2001 From: brad Date: Tue, 4 Jan 2000 07:02:44 +0000 Subject: [PATCH] - there is no configure step for this port, add NO_CONFIGURE tag - ${MKDIR} -> ${INSTALL_DATA_DIR} - improve install target - respect CC and CFLAGS --- net/micq/Makefile | 12 ++++++------ net/micq/patches/patch-aa | 13 ++++++------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/net/micq/Makefile b/net/micq/Makefile index 827ca91ce60..59a8cae3759 100644 --- a/net/micq/Makefile +++ b/net/micq/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 1999/12/05 13:01:34 form Exp $ +# $OpenBSD: Makefile,v 1.6 2000/01/04 07:02:44 brad Exp $ # $FreeBSD: Makefile,v 1.6 1999/06/03 08:31:06 ache Exp $ DISTNAME= micq-0.4.3 @@ -8,6 +8,8 @@ EXTRACT_SUFX= .tgz MAINTAINER= form@openbsd.org +NO_CONFIGURE= yes + # Please uncoment one of the following lines to # select micq language. @@ -22,10 +24,8 @@ MICQ_LANG?= ENGLISH #MICQ_LANG?= UKRAINIAN do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/micq ${PREFIX}/bin - ${MKDIR} ${PREFIX}/share/doc/micq -.for file in README CHANGELOG - ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/micq -.endfor + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/micq + ${INSTALL_PROGRAM} ${WRKSRC}/micq ${PREFIX}/bin + cd ${WRKSRC}; ${INSTALL_DATA} README CHANGELOG ${PREFIX}/share/doc/micq .include diff --git a/net/micq/patches/patch-aa b/net/micq/patches/patch-aa index 5ba0ec5b6ce..7079e331999 100644 --- a/net/micq/patches/patch-aa +++ b/net/micq/patches/patch-aa @@ -1,13 +1,12 @@ -# $OpenBSD: patch-aa,v 1.4 1999/09/15 13:03:36 form Exp $ - ---- Makefile.orig Wed Sep 15 19:50:21 1999 -+++ Makefile Wed Sep 15 19:53:05 1999 -@@ -2,12 +2,16 @@ +--- Makefile.orig Wed Oct 13 19:17:18 1999 ++++ Makefile Tue Jan 4 01:47:39 2000 +@@ -1,13 +1,16 @@ + # Anyone who knows how to make Makefiles please help out. # I have no clue but this appears to work fairly well # be sure to use gmake - CC = gcc +-CC = gcc -CFLAGS = -O4 -Wall -DUNIX -DANSI_COLOR -+CFLAGS = -Wall -DUNIX -DANSI_COLOR ++CFLAGS += -Wall -DUNIX -DANSI_COLOR CFLAGS += -DMAX_CONTACTS=255 CFLAGS += -DUSE_MREADLINE #CFLAGS += -DCOLOR_SCHEME_A