blob: f374d7d7680771e6371a01d2e3f7d894f6cf22d5 (
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
|
# $NetBSD: Makefile,v 1.19 2017/01/12 11:20:02 wiz Exp $
DISTNAME= ed-1.14.1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GNU:=ed/}
EXTRACT_SUFX= .tar.lz
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://www.gnu.org/software/ed/ed.html
COMMENT= GNU version of line-oriented text editor
LICENSE= gnu-gpl-v3
GNU_CONFIGURE= yes
INFO_FILES= yes
CONFIGURE_ARGS+= --program-prefix=g
INSTALL_TARGET= install install-man
TEST_TARGET= check
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 gnu/bin gnu/${PKGMANDIR}/man1
post-install:
.for f in ed red
${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"
|