2015-12-21 20:58:57 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.78 2015/12/21 20:58:57 naddy Exp $
|
2000-06-24 14:31:37 +00:00
|
|
|
|
2007-09-16 00:44:00 +00:00
|
|
|
COMMENT= Pico editor clone with enhancements
|
2001-04-07 01:30:01 +00:00
|
|
|
|
2015-11-18 20:24:12 +00:00
|
|
|
DISTNAME= nano-2.4.3
|
2000-06-24 14:31:37 +00:00
|
|
|
CATEGORIES= editors
|
2001-10-30 13:03:40 +00:00
|
|
|
HOMEPAGE= http://www.nano-editor.org/
|
2000-06-24 14:31:37 +00:00
|
|
|
|
2000-09-23 12:38:21 +00:00
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
2000-06-24 14:31:37 +00:00
|
|
|
|
2015-03-25 20:27:19 +00:00
|
|
|
MASTER_SITES= http://www.nano-editor.org/dist/v2.4/ \
|
2009-12-01 19:39:31 +00:00
|
|
|
${MASTER_SITE_GNU:=nano/}
|
2000-06-24 14:31:37 +00:00
|
|
|
|
2007-12-27 20:53:18 +00:00
|
|
|
# GPLv3
|
2012-10-15 15:18:31 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2000-06-24 14:31:37 +00:00
|
|
|
|
2004-08-10 08:32:35 +00:00
|
|
|
MODULES= devel/gettext
|
2010-12-03 16:45:07 +00:00
|
|
|
WANTLIB= c ncursesw
|
2000-06-24 14:31:37 +00:00
|
|
|
|
2012-03-29 13:38:12 +00:00
|
|
|
SEPARATE_BUILD= Yes
|
2015-12-21 20:58:57 +00:00
|
|
|
AUTOCONF_VERSION=2.69
|
|
|
|
CONFIGURE_STYLE=autoconf
|
2015-03-25 20:27:19 +00:00
|
|
|
CONFIGURE_ARGS= --disable-libmagic
|
2011-11-14 09:48:46 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2010-12-03 16:45:07 +00:00
|
|
|
|
2015-04-28 21:05:30 +00:00
|
|
|
# configure tests for groff -Thtml, but assumes the existence of groff
|
|
|
|
pre-configure:
|
|
|
|
@ln -s /usr/bin/false ${WRKDIR}/bin/groff
|
|
|
|
|
2003-10-04 23:26:36 +00:00
|
|
|
post-install:
|
2015-08-11 21:43:02 +00:00
|
|
|
sed -i -e 's:/etc:${SYSCONFDIR}:g;' -e 's:PREFIX:${TRUEPREFIX}:g;' \
|
2015-03-25 20:27:19 +00:00
|
|
|
${PREFIX}/man/man5/nanorc.5
|
2003-10-04 23:26:36 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nano
|
2006-12-14 21:26:53 +00:00
|
|
|
${INSTALL_DATA} ${WRKBUILD}/doc/nanorc.sample \
|
2010-08-18 19:41:45 +00:00
|
|
|
${PREFIX}/share/examples/nano
|
|
|
|
|
2000-06-24 14:31:37 +00:00
|
|
|
.include <bsd.port.mk>
|