aboutsummaryrefslogtreecommitdiffstats
path: root/net/wol/Makefile
blob: aee4d29a156609f50f306ec48fd2f163fa1c3aba (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
# ex:ts=8
# Ports collection makefile for:    wol
# Date created:         Jan 10, 2001
# Whom:                 ijliao
#
# $FreeBSD$
#

PORTNAME=   wol
PORTVERSION=    0.5.1
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ahh

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    intl:${PORTSDIR}/devel/gettext-old \
        iconv.3:${PORTSDIR}/converters/libiconv \
        gnugetopt:${PORTSDIR}/devel/libgnugetopt

GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib -lgiconv -lgnugetopt"

post-patch:
    @${PERL} -pi -e "s/iconv.h/giconv.h/g" ${WRKSRC}/configure

.include <bsd.port.mk>