2829e658f2
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with ${PREFIX}/${PKGMANDIR}. Fixes PR 35265, although I did not use the patch provided therein.
22 lines
664 B
Makefile
22 lines
664 B
Makefile
# $NetBSD: Makefile,v 1.7 2007/01/07 09:14:14 rillig Exp $
|
|
|
|
DISTNAME= rtfm-1.0
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/ \
|
|
ftp://ftp.pl.freebsd.org/pub/FreeBSD/ports/distfiles/
|
|
|
|
MAINTAINER= zuntum@NetBSD.org
|
|
COMMENT= NetBSD documentation and GNU Texinfo files search mechanism
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
post-patch:
|
|
${SED} "s,@LOCALBASE@,${LOCALBASE},g" ${WRKSRC}/rtfm.c \
|
|
> ${WRKSRC}/rtfm.c.done
|
|
${MV} ${WRKSRC}/rtfm.c.done ${WRKSRC}/rtfm.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rtfm ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/rtfm.1 ${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|