diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2004-04-01 01:27:29 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2004-04-01 01:27:29 +0000 |
commit | 08b7bf3ed2f354eb4073d94a7a070b14f65653ac (patch) | |
tree | 0555a764a7a563280c729509b027777e2fac0575 /editors/nano | |
parent | - Netcdf and Hdf conflicts, so let user choose which one to build against. (diff) |
Expand $SYSCONFDIR in man pages.
Obtained from: Robert Nagy <thuglife@bsd.hu> via OpenBSD
Notes
Notes:
svn path=/head/; revision=105833
Diffstat (limited to 'editors/nano')
-rw-r--r-- | editors/nano/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/editors/nano/Makefile b/editors/nano/Makefile index ee34629965c1..f026f508f521 100644 --- a/editors/nano/Makefile +++ b/editors/nano/Makefile @@ -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} |