diff options
author | jperkin <jperkin@pkgsrc.org> | 2012-12-06 11:38:19 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2012-12-06 11:38:19 +0000 |
commit | 8d0951c02b9e717c86c9e3d32a6541c5abc534ac (patch) | |
tree | 555081b2fb5c41657ee3f23bba4dfdd954cbed5e /editors/ed | |
parent | 5b75a8a64c2cbba9de4b08b71ba1f60fd0094bbb (diff) | |
download | pkgsrc-8d0951c02b9e717c86c9e3d32a6541c5abc534ac.tar.gz |
Add PKGGNUDIR support.
Diffstat (limited to 'editors/ed')
-rw-r--r-- | editors/ed/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/editors/ed/Makefile b/editors/ed/Makefile index f9dc97e72b0..cd8e5a6843a 100644 --- a/editors/ed/Makefile +++ b/editors/ed/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2012/10/03 11:43:32 asau Exp $ +# $NetBSD: Makefile,v 1.16 2012/12/06 11:41:19 jperkin Exp $ DISTNAME= ed-1.1 PKGREVISION= 2 @@ -21,10 +21,12 @@ INSTALL_TARGET= install install-man AUTO_MKDIRS= yes +.include "../../mk/bsd.prefs.mk" + post-install: .for f in ed red - ${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/gnu/bin/${f} - ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/gnu/man/man1/${f}.1 + ${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/${f} + ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/${f}.1 .endfor .include "../../mk/bsd.pkg.mk" |