summaryrefslogtreecommitdiff
path: root/net/dynipclient/Makefile
blob: b58b1800acc0c308d66d641644bde3196419f136 (plain)
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
# $NetBSD: Makefile,v 1.7 2003/07/30 12:01:26 jmmv Exp $
#

DISTNAME=	dynip_3.00
PKGNAME=	dynipclient-3.00
PKGREVISION=	1
CATEGORIES=	net
MASTER_SITES=	ftp://ftp.dynip.com/software/unix/

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://www.dynip.com/
COMMENT=	Client for the dynip.com dynamic DNS service

USE_BUILDLINK2=	YES
USE_PKGINSTALL=	YES

RCD_SCRIPTS=	dynipclient

EGDIR=		${PREFIX}/share/examples/dynipclient
CONF_FILES=	${EGDIR}/dynip.cfg ${PKG_SYSCONFDIR}/dynip.cfg

do-build:
	cd ${WRKSRC} && ./Configure freebsd ${PREFIX}/bin ${PKG_SYSCONFDIR} \
		${PREFIX}/man

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/dynipadmin ${PREFIX}/bin/
	${INSTALL_PROGRAM} ${WRKSRC}/dynipclient ${PREFIX}/bin/
	${INSTALL_DATA} ${WRKSRC}/*.1 ${PREFIX}/man/man1/
	${INSTALL_DATA_DIR} ${EGDIR}
	${INSTALL_DATA} ${WRKSRC}/dynip.cfg ${EGDIR}

.include "../../mk/bsd.pkg.mk"