mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
08b7bf3ed2
Obtained from: Robert Nagy <thuglife@bsd.hu> via OpenBSD
38 lines
842 B
Makefile
38 lines
842 B
Makefile
# New ports collection makefile for: nano
|
|
# Date created: 12 June 2000
|
|
# Whom: Philippe Lefebvre <nemesis@balistik.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= nano
|
|
PORTVERSION= 1.2.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= editors
|
|
MASTER_SITES= http://www.nano-editor.org/dist/v1.2/ \
|
|
http://www.ewtoo.org/~astyanax/nano/dist/v1.2/
|
|
|
|
MAINTAINER= naddy@FreeBSD.org
|
|
COMMENT= Nano's ANOther editor, an enhanced free Pico clone
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --enable-all
|
|
USE_GETTEXT= yes
|
|
USE_REINPLACE= yes
|
|
|
|
INFO= nano
|
|
MAN1= nano.1
|
|
MAN5= nanorc.5
|
|
|
|
post-build:
|
|
${REINPLACE_CMD} 's:\$$SYSCONFDIR:${PREFIX}/etc:g' \
|
|
${WRKSRC}/${MAN1} ${WRKSRC}/${MAN5}
|
|
|
|
post-install:
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/nanorc.sample ${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|