blob: 914cce5741473418104aa0d5dd3fb8b3cf4b0729 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# $NetBSD: Makefile,v 1.25 2014/09/25 14:48:53 jperkin Exp $
DISTNAME= reed-5.4
PKGREVISION= 5
CATEGORIES= misc
MASTER_SITES= http://www.sacredchao.net/software/reed/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.sacredchao.net/software/reed/index.shtml
COMMENT= Auto-scrolling file viewer
CONFIGURE_SCRIPT= ./configures
CONFIGURE_ARGS+= -p ${PREFIX}
HAS_CONFIGURE= YES
USE_TOOLS+= perl:run
REPLACE_PERL= breed fix_bookmarks.pl wrap
# wgetnstr()
INCOMPAT_CURSES= NetBSD-1.5-* NetBSD-1.5.*-* NetBSD-1.5[A-U]-*
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
SUBST_CLASSES+= sysdir1 sysdir2
SUBST_STAGE.sysdir1= pre-configure
SUBST_FILES.sysdir1= cfg.data
SUBST_SED.sysdir1= -e "s,sys/dir.h,,g"
SUBST_STAGE.sysdir2= pre-configure
SUBST_FILES.sysdir2= reed.c
SUBST_SED.sysdir2= -e "/sys\/dir.h/d"
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/reed ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/breed ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/wrap ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/breed.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/reed.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/wrap.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/reed
${INSTALL_DATA} ${WRKSRC}/help ${DESTDIR}${PREFIX}/share/reed/
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|