summaryrefslogtreecommitdiff
path: root/textproc/rtfm/Makefile
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-03-14 14:57:34 +0000
committerzuntum <zuntum>2001-03-14 14:57:34 +0000
commit626e78f2c453254cfd991d1de0cdcbd008b74845 (patch)
treeab8249ef7f0e8d8f1c56297fb8d77685866666b8 /textproc/rtfm/Makefile
parentaef215b0b0660fe1a612aeed9bb6d9fea0071f65 (diff)
downloadpkgsrc-626e78f2c453254cfd991d1de0cdcbd008b74845.tar.gz
* use ${LOCALBASE} instead of hardcoded /usr/pkg as a location for info files
* use ${INSTALL_PROGRAM/MAN} instead of "install" * fix my email address
Diffstat (limited to 'textproc/rtfm/Makefile')
-rw-r--r--textproc/rtfm/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/textproc/rtfm/Makefile b/textproc/rtfm/Makefile
index 533a022145d..ef6f6577e3f 100644
--- a/textproc/rtfm/Makefile
+++ b/textproc/rtfm/Makefile
@@ -1,12 +1,21 @@
-# $NetBSD: Makefile,v 1.2 2001/02/17 17:37:42 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2001/03/14 14:57:34 zuntum Exp $
# FreeBSD Id: ports/misc/rtfm/Makefile,v 1.10 2001/01/16 17:31:43 sobomax Exp
DISTNAME= rtfm-1.0
CATEGORIES= textproc
-MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/ \
+MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/ \
ftp://ftp.pl.freebsd.org/pub/FreeBSD/ports/distfiles/
-MAINTAINER= zuntum@eik.pl
+MAINTAINER= zuntum@netbsd.org
COMMENT= NetBSD documentation and GNU Texinfo files search mechanism
+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}/man/man1
+
.include "../../mk/bsd.pkg.mk"