File:
[cvs.NetBSD.org] /
pkgsrc /
net /
ppp-lzs /
Attic /
Makefile
Revision
1.14:
download - view:
text,
annotated -
select for diffs
Thu Feb 22 19:26:57 2007 UTC (17 years, 9 months ago) by
wiz
Branches:
MAIN
CVS tags:
pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3,
pkgsrc-2007Q2-base,
pkgsrc-2007Q2,
pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
cwrapper,
cube-native-xorg-base,
cube-native-xorg,
HEAD
Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
# $NetBSD: Makefile,v 1.14 2007/02/22 19:26:57 wiz Exp $
DISTNAME= ppp-lzs-1.2
CATEGORIES= net
MASTER_SITES= http://homepages.rya-online.net/plunky/
MAINTAINER= plunky@rya-online.net
HOMEPAGE= http://homepages.rya-online.net/plunky/lzs.html
COMMENT= PPP daemon and LKM with Stac LZS decompression
BROKEN_IN= pkgsrc-2005Q4 pkgsrc-2006Q1 pkgsrc-2006Q4
CONFLICTS+= ppp-* ppp-mppe-*
ONLY_FOR_PLATFORM= NetBSD-*-*
.include "../../mk/bsd.prefs.mk"
MAKE_ENV+= NETBSDSRCDIR=${NETBSDSRCDIR:Q}
MAKE_ENV+= S="${NETBSDSRCDIR}/sys"
MESSAGE_SUBST+= PREFIX="${PREFIX}"
USE_TOOLS+= patch
BUILDLINK_PASSTHRU_DIRS= ${NETBSDSRCDIR}/lib/libpcap
INSTALLATION_DIRS= lkm ${PKGMANDIR}/cat8 ${PKGMANDIR}/man8 sbin
pre-extract:
.if !exists(${NETBSDSRCDIR}/usr.sbin/pppd/Makefile)
@${ECHO} "This package requires the NetBSD source sets to be installed in"
@${ECHO} "order to compile, as it patches against the supplied pppd. Please"
@${ECHO} "place them in ${NETBSDSRCDIR} or set the NETBSDSRCDIR variable"
@${ECHO} "to their location."
@${FALSE}
.endif
post-extract:
@${CP} ${NETBSDSRCDIR}/sys/net/ppp-comp.h ${WRKSRC}/net
@${CP} ${NETBSDSRCDIR}/usr.sbin/pppd/pppd/*.[ch8] ${WRKSRC}/pppd
@${CP} ${NETBSDSRCDIR}/usr.sbin/pppd/pppd/Makefile ${WRKSRC}/pppd
do-patch:
@cd ${WRKSRC}; \
v=`${SED} -n -e "/^#define.*VERSION.*\"\(.*\)\".*/s//\1/p" pppd/patchlevel.h`; \
${ECHO} -n "pppd $${v} sources found, "; \
if [ -d $${v} ]; then \
${ECHO} "patching.."; \
${CAT} $${v}/patch.* | ${PATCH} --quiet; \
else \
${ECHO} "Have no patches for this version, sorry!"; \
${FALSE}; \
fi
pre-install:
.if !exists(${PREFIX}/lkm)
${INSTALL_PROGRAM_DIR} ${PREFIX}/lkm
.endif
do-install:
${INSTALL} ${COPY} ${_STRIPFLAG_INSTALL} -o ${BINOWN} -g ${BINGRP} -m 4555 \
${WRKSRC}/pppd/pppd ${PREFIX}/sbin/pppd
${INSTALL_MAN} ${WRKSRC}/pppd/pppd.cat8 ${PREFIX}/${PKGMANDIR}/cat8/pppd.0
${INSTALL_MAN} ${WRKSRC}/pppd/pppd.8 ${PREFIX}/${PKGMANDIR}/man8/pppd.8
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
${WRKSRC}/lkm/lzs.o ${PREFIX}/lkm/lzs.o
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>