- there is no configure step for this port, add NO_CONFIGURE tag

- ${MKDIR} -> ${INSTALL_DATA_DIR}
- improve install target
- respect CC and CFLAGS
This commit is contained in:
brad 2000-01-04 07:02:44 +00:00
parent 8259927e3f
commit 1cb218b8f8
2 changed files with 12 additions and 13 deletions

View File

@ -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_DATA_DIR} ${PREFIX}/share/doc/micq
${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
cd ${WRKSRC}; ${INSTALL_DATA} README CHANGELOG ${PREFIX}/share/doc/micq
.include <bsd.port.mk>

View File

@ -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