File:  [cvs.NetBSD.org] / pkgsrc / net / ez-ipupdate / Makefile
Revision 1.6: download - view: text, annotated - select for diffs
Tue Oct 23 17:18:20 2012 UTC (12 years, 1 month ago) by asau
Branches: MAIN
CVS tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, HEAD
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

# $NetBSD: Makefile,v 1.6 2012/10/23 17:18:20 asau Exp $

DISTNAME=		ez-ipupdate-3.0.11b7
PKGREVISION=		1
CATEGORIES=		net
MASTER_SITES=		http://www.ez-ipupdate.com/dist/

MAINTAINER=		ghen@NetBSD.org
HOMEPAGE=		http://www.ez-ipupdate.com/
COMMENT=		Client to update dynamic DNS entries

GNU_CONFIGURE=		yes

EGDIR=			${PREFIX}/share/examples/ez-ipupdate
RCD_SCRIPTS=		ez-ipupdate

SUBST_CLASSES+=		path
SUBST_STAGE.path=	post-patch
SUBST_MESSAGE.path=	Correcting paths in example scripts.
SUBST_FILES.path=	example-*.conf example.conf
SUBST_SED.path=		-e "s|/usr/local|${PREFIX}|g"
SUBST_SED.path+=	-e "s|cache-file=/etc/|cache-file=${PKG_SYSCONFDIR}/|g"

post-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
	${INSTALL_DATA} ${WRKSRC}/example.conf ${DESTDIR}${EGDIR}/ez-ipupdate.conf
	${INSTALL_DATA} ${WRKSRC}/example-*.conf ${DESTDIR}${EGDIR}/

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

CVSweb <webmaster@jp.NetBSD.org>