aboutsummaryrefslogtreecommitdiffstats
path: root/net/hlmaster/Makefile
blob: ae1ea522101661dbe980159d394e9bea1debd27a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:    HL Master
# Date created:             Mon Jul  9 02:40:56 EDT 2001
# Whom:                 pat@databits.net
#
# $FreeBSD$
#

PORTNAME=   hlmaster
PORTVERSION=    0.9.3
CATEGORIES= net games
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= pat@FreeBSD.org

GNU_CONFIGURE=  yes

MAN1=       ${PORTNAME}.1 ${PORTNAME}.gameserver.1 \
        ${PORTNAME}.filter.1 ${PORTNAME}.list.1

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}
    @${INSTALL_DATA} ${WRKSRC}/examples/*.list \
        ${PREFIX}/share/examples/${PORTNAME}
    @${INSTALL_DATA} ${WRKSRC}/examples/woncomm.lst \
        ${PREFIX}/share/examples/${PORTNAME}
    @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif #NOPORTDOCS

.include <bsd.port.mk>