File:
[cvs.NetBSD.org] /
pkgsrc /
net /
pptp /
Makefile
Revision
1.17:
download - view:
text,
annotated -
select for diffs
Tue Oct 23 17:19:00 2012 UTC (12 years, 1 month ago) by
asau
Branches:
MAIN
CVS tags:
pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4,
pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
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.17 2012/10/23 17:19:00 asau Exp $
DISTNAME= pptp-1.7.1
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pptpclient/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pptpclient.sourceforge.net/
COMMENT= PPTP client package for Microsoft VPN servers
LICENSE= gnu-gpl-v2
MAKE_JOBS_SAFE= no
NOT_FOR_PLATFORM= Interix-*-*
MAKE_FLAGS+= BINDIR=${PREFIX}/sbin
MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR:Q}/man8
MAKE_FLAGS+= PPPDIR=${PREFIX}/share/examples/pptp
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 share/examples/pptp
INSTALLATION_DIRS+= share/doc/pptp/Documentation share/doc/pptp/Reference
DOCDIR= ${PREFIX}/share/doc/pptp
post-install:
cd ${WRKSRC}/Documentation && ${INSTALL_DATA} * ${DESTDIR}${DOCDIR}/Documentation
cd ${WRKSRC}/Reference && ${INSTALL_DATA} * ${DESTDIR}${DOCDIR}/Reference
cd ${WRKSRC} && ${INSTALL_DATA} INSTALL NEWS README USING ${DESTDIR}${DOCDIR}
.include "../../mk/bsd.prefs.mk"
# Not quite yet---special config for MPPE in pppd.
.if defined(PPTP_USE_MPPE)
DEPENDS+= pppd>=2.4.3:../../net/pppd
MAKE_FLAGS+= PPPD=${PREFIX}/sbin/pppd
.else
MAKE_FLAGS+= PPPD=/usr/sbin/pppd
.endif
SUBST_CLASSES+= pptp
SUBST_MESSAGE.pptp= "Fixing hardcoded paths."
SUBST_STAGE.pptp= post-patch
SUBST_FILES.pptp= pptp.8
SUBST_SED.pptp= -e 's,/usr,${PREFIX},g'
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>