pkgsrc-Bulk archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgsrc NetBSD 5.0_STABLE/x86_64 2009-07-24 10:40
On Sat, Aug 01, 2009 at 01:29:58AM -0400, D'Arcy J.M. Cain wrote:
> But in this case I have no install rules in my package. All the
> install rules come from the build system.
> [...]
> So are there any packages setting PKG_DESTDIR_SUPPORT to user-destdir
> that I can use as a guide? Or should I just give up and set it to "no"
> like everyone else?
...most of them?
The package has
install: all
chmod 644 generate.1
cp generate.1 /${MANDIR}/man1
chmod 755 ${BINS}
cp ${BINS} ${BINDIR}
What you need is something like this:
install: all
chmod 644 generate.1
- cp generate.1 /${MANDIR}/man1
+ cp generate.1 ${DESTDIR}${MANDIR}/man1
chmod 755 ${BINS}
- cp ${BINS} ${BINDIR}
+ cp ${BINS} ${DESTDIR}${BINDIR}
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index