diff options
-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} |