diff options
author | rillig <rillig@pkgsrc.org> | 2006-11-09 09:09:32 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-11-09 09:09:32 +0000 |
commit | 7ebadfdbfb7f6b99a95c891eb14effc9f8e673ca (patch) | |
tree | 7f7005178c326df8cacd8f4c271b1571f5f8ea60 /net/bsddip/files | |
parent | f05e7e375d9d80fb10c3b5d95140ca1a7b3b3412 (diff) | |
download | pkgsrc-7ebadfdbfb7f6b99a95c891eb14effc9f8e673ca.tar.gz |
Fixed the program for unprivileged builds by not requiring data files to
be owned by bin:bin.
Diffstat (limited to 'net/bsddip/files')
-rw-r--r-- | net/bsddip/files/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net/bsddip/files/Makefile b/net/bsddip/files/Makefile new file mode 100644 index 00000000000..be30284d15d --- /dev/null +++ b/net/bsddip/files/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1 2006/11/09 09:09:33 rillig Exp $ + +PROG = dip +PROG1 = diplogin +LINKS = ${BINDIR}/${PROG} ${BINDIR}/${PROG1} +VERSION = 1.01 + +BINTGT = dip +BINDIR = ${PREFIX}/sbin + +MAN = dip.8 +MLINKS = dip.8 diplogin.8 +MANINSTALL = maninstall catinstall + +SAMPLES = samples/dialout.dip.sample samples/ReadMe.HowTo \ + samples/sample2.dip samples/diphosts \ + samples/sample.dip samples/setup.sh.sample \ + samples/ReadMe samples/sample1.dip \ + samples/startup.sh.sample + +SMPDIR = ${PREFIX}/lib/dip + +# OWNSLEEP= -DUSEOWNSLEEP + +SRCS = attach.c command.c config.c daemon.c dip.c login.c modem.c ppp.c\ + slip.c term.c tty.c + +.ifdef (OWNSLEEP) +SRCS += sleep.c +.endif + +afterinstall: + @if [ ! -d ${SMPDIR} ] ; then mkdir -p ${SMPDIR} ; fi + ${BSD_INSTALL_DATA} ${SAMPLES} ${SMPDIR} + +.include <bsd.prog.mk> |