flex: fix bootstrap on NetBSD from upstream
[openadk.git] / package / ed / Makefile
blob322dbbd9621a7ce833b31d8a118a5c97cadf8d9a
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= ed
7 PKG_VERSION:= 1.14.2
8 PKG_RELEASE:= 1
9 PKG_HASH:= f57962ba930d70d02fc71d6be5c5f2346b16992a455ab9c43be7061dec9810db
10 PKG_DESCR:= unix editor
11 PKG_SECTION:= app/editor
12 PKG_BUILDDEP+= lzip-host
13 HOST_BUILDDEP+= lzip-host
14 PKG_URL:= http://www.gnu.org/software/ed/ed.html
15 PKG_SITES:= ${MASTER_SITE_GNU:=ed/}
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.lz
19 include $(ADK_TOPDIR)/mk/host.mk
20 include $(ADK_TOPDIR)/mk/package.mk
22 $(eval $(call HOST_template,ED,ed,$(PKG_VERSION)-${PKG_RELEASE}))
23 $(eval $(call PKG_template,ED,ed,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
25 ed-install:
26 $(INSTALL_DIR) $(IDIR_ED)/bin
27 $(INSTALL_BIN) $(WRKINST)/usr/bin/ed \
28 $(IDIR_ED)/bin
30 include ${ADK_TOPDIR}/mk/host-bottom.mk
31 include ${ADK_TOPDIR}/mk/pkg-bottom.mk