pkgsrc/net/dtcpclient/Makefile
obache 45ee1937a8 Honor PKG_SYSCONFDIR and VARBASE, noticed in PR 36501.
OLD LOCATION				NEW LOCATION
  /var/run/dtcpclient.pid		${VARBASE}/run/dtcpclient.pid
  ${PREFIX}/etc/dtcpclient.auth		${PKG_SYSCONFDIR}/dtcpclient.auth
  /usr/local/dtcpclient_script.conf	${PKG_SYSCONFDIR}/dtcpclient_script.conf
2007-06-17 04:23:32 +00:00

37 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2007/06/17 04:23:32 obache Exp $
#
DISTNAME= dtcpclient-20060526
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.imasy.or.jp/~ume/ipv6/ \
http://home.jp.FreeBSD.org/~ume/ipv6/
MAINTAINER= hamajima@NetBSD.org
HOMEPAGE= http://www.imasy.or.jp/~ume/dtcp/
COMMENT= Dynamic Tunnel Configuration Protocol client
ONLY_FOR_PLATFORM= FreeBSD-*-* NetBSD-*-* OpenBSD-*-* Darwin-*-*
ONLY_FOR_PLATFORM+= DragonFly-*-*
RCD_SCRIPTS= dtcpclient
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Fixing hardcoded paths.
SUBST_STAGE.paths= post-configure
SUBST_FILES.paths= dtcpclient.8 dtcpclient.script dtcpclient.c
SUBST_SED.paths= -e 's|/usr/local/etc|${PKG_SYSCONFDIR}|g'
SUBST_SED.paths+= -e 's|/usr/local|${PREFIX}|g'
SUBST_SED.paths+= -e 's|/var|${VARBASE}|g'
MAKE_ENV+= ${BSD_MAKE_ENV} VARBASE=${VARBASE}
BUILD_DEFS+= VARBASE
INSTALLATION_DIRS= ${PKGMANDIR}/cat8 ${PKGMANDIR}/man8 sbin
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
.include "../../security/openssl/buildlink3.mk"
.endif
.include "../../mk/bsd.pkg.mk"