aboutsummaryrefslogtreecommitdiffstats
path: root/dns/gresolver/Makefile
blob: 80d4a647d386fccddc96cecb98e8debd4bd15611 (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
# New ports collection makefile for:    gresolver
# Date created:         23 Oct 2004
# Whom:             Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#

PORTNAME=   gresolver
PORTVERSION=    0.0.4
PORTREVISION=   1
CATEGORIES= dns
MASTER_SITES=   http://jodrell.net/files/gresolver/

MAINTAINER= jylefort@FreeBSD.org
COMMENT=    A graphical DNS query tool using GTK+

RUN_DEPENDS=    ${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext \
        ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
        ${SITE_PERL}/${PERL_ARCH}/Gtk2/GladeXML.pm:${PORTSDIR}/x11-toolkits/p5-Glade2 \
        ${SITE_PERL}/Net/IPv6Addr.pm:${PORTSDIR}/net-mgmt/p5-Net-IPv6Addr

USE_X_PREFIX=   yes

do-build:
    @${SED} -e 's|@PREFIX@|${PREFIX}|' ${WRKSRC}/gresolver.pl > ${WRKSRC}/gresolver

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/gresolver ${PREFIX}/bin
    ${MKDIR} ${PREFIX}/share/applications
    ${INSTALL_DATA} ${WRKSRC}/gresolver.desktop ${PREFIX}/share/applications
    ${MKDIR} ${PREFIX}/share/pixmaps
    ${INSTALL_DATA} ${WRKSRC}/gresolver.png ${PREFIX}/share/pixmaps
    ${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/gresolver.glade ${DATADIR}

.include <bsd.port.mk>