aboutsummaryrefslogtreecommitdiffstats
path: root/dns/staticcharge/Makefile
blob: b75de141cce9b499e48122d018db0c4d695ce3ee (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
38
# New ports collection makefile for:  staticcharge
# Date created:        26 October 2001
# Whom:                Mahlon <mahlon@martini.nu>
#
# $FreeBSD$
#

PORTNAME=   staticcharge
PORTVERSION=    0.7.3
PORTREVISION=   3
CATEGORIES= dns
MASTER_SITES=   http://www.staticcling.org/clients/
DISTNAME=   ChargeGTK-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A GTK client for the StaticCling dynamic DNS service

BUILD_DEPENDS=  wget:${PORTSDIR}/ftp/wget

PLIST_FILES=    bin/staticcharge
WRKSRC=     ${WRKDIR}/staticcharge
USE_GNOME=  gtk12
GNU_CONFIGURE=  yes
USE_GMAKE=  yes

.ifdef DEBUG
CONFIGURE_ARGS+=    --enable-debug
.endif

post-patch:
    @${REINPLACE_CMD} -E 's,\(int\)([[:graph:]]+) = ,\1 = (char *),' \
        ${WRKSRC}/src/checkexe.c ${WRKSRC}/src/checkip.c \
        ${WRKSRC}/src/getfields.c

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>