mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Expand $SYSCONFDIR in man pages.
Obtained from: Robert Nagy <thuglife@bsd.hu> via OpenBSD
This commit is contained in:
parent
b728f0b85f
commit
08b7bf3ed2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105833
@ -7,6 +7,7 @@
|
||||
|
||||
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/
|
||||
@ -19,11 +20,16 @@ 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}
|
||||
|
Loading…
Reference in New Issue
Block a user