summaryrefslogtreecommitdiff
path: root/net/hlmaster
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2001-12-23 15:46:50 +0000
committerPatrick Li <pat@FreeBSD.org>2001-12-23 15:46:50 +0000
commita9f37fecd2a924247c15bd6ebcac6761c728f89e (patch)
tree299bbf6c89e11215324cc378f0058920713bbf40 /net/hlmaster
parentNew port: p5-MARC. (diff)
Update to 0.9.3
Notes
Notes: svn path=/head/; revision=52054
Diffstat (limited to 'net/hlmaster')
-rw-r--r--net/hlmaster/Makefile14
-rw-r--r--net/hlmaster/distinfo2
-rw-r--r--net/hlmaster/files/patch-lib::pfc++::Makefile10
-rw-r--r--net/hlmaster/files/patch-src::Makefile9
4 files changed, 9 insertions, 26 deletions
diff --git a/net/hlmaster/Makefile b/net/hlmaster/Makefile
index e793f993766e..ae1ea5221016 100644
--- a/net/hlmaster/Makefile
+++ b/net/hlmaster/Makefile
@@ -6,22 +6,24 @@
#
PORTNAME= hlmaster
-PORTVERSION= 0.9.2
+PORTVERSION= 0.9.3
CATEGORIES= net games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= pat@FreeBSD.org
-MAKEFILE= Makefile.bsd
+GNU_CONFIGURE= yes
MAN1= ${PORTNAME}.1 ${PORTNAME}.gameserver.1 \
${PORTNAME}.filter.1 ${PORTNAME}.list.1
-do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
- @${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 \
- ${PREFIX}/man/man1
+pre-patch:
+ @${PERL} -pi -e 's|-O2||' ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${PERL} \
+ -pi.orig -e 's|CXXFLAGS = -O2 -Wall||'
+
+post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
@${MKDIR} ${DOCSDIR}
diff --git a/net/hlmaster/distinfo b/net/hlmaster/distinfo
index 04fa7cf279f9..489ca66baae6 100644
--- a/net/hlmaster/distinfo
+++ b/net/hlmaster/distinfo
@@ -1 +1 @@
-MD5 (hlmaster-0.9.2.tar.gz) = 81ed2f961ea30173eee70c1b73d5b976
+MD5 (hlmaster-0.9.3.tar.gz) = 663b475959bf507cd3ee39c2f485bf8b
diff --git a/net/hlmaster/files/patch-lib::pfc++::Makefile b/net/hlmaster/files/patch-lib::pfc++::Makefile
deleted file mode 100644
index 15d953992b25..000000000000
--- a/net/hlmaster/files/patch-lib::pfc++::Makefile
+++ /dev/null
@@ -1,10 +0,0 @@
-
---- lib/pfc++/src/Makefile.bsd.orig Thu Jul 5 07:06:54 2001
-+++ lib/pfc++/src/Makefile.bsd Sat Jul 14 17:54:52 2001
-@@ -1,5 +1,4 @@
--CXX = g++
--CXXFLAGS = -Wall -O2
-+CXXFLAGS += -Wall
- REAL_CXXFLAGS = ${CXXFLAGS} -D__linux__ -I../include
-
- RANLIB = ar
diff --git a/net/hlmaster/files/patch-src::Makefile b/net/hlmaster/files/patch-src::Makefile
deleted file mode 100644
index 98db484a77a1..000000000000
--- a/net/hlmaster/files/patch-src::Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/Makefile.bsd.orig Wed Jul 4 17:44:41 2001
-+++ src/Makefile.bsd Sat Jul 14 17:54:34 2001
-@@ -1,5 +1,4 @@
--CXX = g++
--CXXFLAGS = -Wall -O2
-+CXXFLAGS += -Wall
- LDFLAGS = -s
- REAL_CXXFLAGS = ${CXXFLAGS} -D__linux__ -I../include -I../lib/pfc++/include
-