a20d25368e
pkglint -Wall -F -r editors Manually fixed the changes in editors/nedit since the "fixed" indentation was wrong.
23 lines
813 B
Makefile
23 lines
813 B
Makefile
# $NetBSD: Makefile,v 1.9 2019/06/08 10:40:57 rillig Exp $
|
|
|
|
DISTNAME= sandy-0.4
|
|
PKGREVISION= 2
|
|
CATEGORIES= editors
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://tools.suckless.org/sandy
|
|
COMMENT= Sandy is an ncurses text editor
|
|
LICENSE= mit
|
|
|
|
SUBST_CLASSES= fix-paths
|
|
SUBST_STAGE.fix-paths= pre-configure
|
|
SUBST_MESSAGE.fix-paths= Fixing absolute paths.
|
|
SUBST_FILES.fix-paths= config.mk
|
|
SUBST_SED.fix-paths= -e 's,/usr/local,${PREFIX},g'
|
|
SUBST_SED.fix-paths+= -e 's,/usr/include,${BUILDLINK_PREFIX.ncursesw}/include,g'
|
|
SUBST_SED.fix-paths+= -e 's,/usr/lib,${BUILDLINK_PREFIX.ncursesw}/lib -Wl\,-R${BUILDLINK_PREFIX.ncursesw}/lib,g'
|
|
SUBST_SED.fix-paths+= -e 's,share/man,${PKGMANDIR},g'
|
|
|
|
.include "../../devel/ncursesw/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|