diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-02-24 16:48:35 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-02-24 16:48:35 +0000 |
commit | c9631c15ad485138dd3ca2f99d95b9587a280142 (patch) | |
tree | c01434db8f1dfe1c7e1cdb776c046eb9e755d9d0 /editors | |
parent | - Fix MASTER site (diff) |
Support stage
Notes
Notes:
svn path=/head/; revision=345879
Diffstat (limited to 'editors')
-rw-r--r-- | editors/joe/Makefile | 27 | ||||
-rw-r--r-- | editors/joe/pkg-plist | 2 |
2 files changed, 9 insertions, 20 deletions
diff --git a/editors/joe/Makefile b/editors/joe/Makefile index 2e5b51eed61f..46e4ae69703e 100644 --- a/editors/joe/Makefile +++ b/editors/joe/Makefile @@ -14,34 +14,21 @@ COMMENT= Joe's Own Editor BUILD_DEPENDS= aspell:${PORTSDIR}/textproc/aspell RUN_DEPENDS= aspell:${PORTSDIR}/textproc/aspell +OPTIONS_DEFINE= DOCS + CONFLICTS= joe-2.* LICENSE= GPLv1 -USE_GMAKE= yes -USES= iconv ncurses +USES= gmake iconv ncurses GNU_CONFIGURE= yes CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${ICONV_LIB}" CPPFLAGS+= -I${LOCALBASE}/include ALL_TARGET= ${PORTNAME} -MAN1= ${PORTNAME}.1 - -MANLANG= "" ru - -NO_STAGE= yes -.include <bsd.port.pre.mk> - -.if ! ${PORT_OPTIONS:MDOCS} -post-patch: - ${REINPLACE_CMD} 's,install-data-am: install-data_charmapsDATA install-data_docDATA,install-data-am: install-data_charmapsDATA,' \ - ${WRKSRC}/Makefile.in -.endif post-install: -.for file in jmacsrc jpicorc jstarrc rjoerc joerc -.if !exists(${PREFIX}/etc/${PORTNAME}/${file}) - @${CP} ${PREFIX}/etc/${PORTNAME}/${file} ${PREFIX}/etc/${PORTNAME}/${file}.dist -.endif -.endfor + for rc in jmacsrc joerc jpicorc jstarrc rjoerc; do \ + ${MV} ${STAGEDIR}${ETCDIR}/$${rc} ${STAGEDIR}${ETCDIR}/$${rc}.dist ; \ + done -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/editors/joe/pkg-plist b/editors/joe/pkg-plist index 6e81f5b4385d..28e7ff8b93ae 100644 --- a/editors/joe/pkg-plist +++ b/editors/joe/pkg-plist @@ -77,6 +77,8 @@ bin/termidx %%DATADIR%%/syntax/vhdl.jsf %%DATADIR%%/syntax/xml.jsf %%PORTDOCS%%@dirrm %%DOCSDIR%% +man/man1/joe.1.gz +man/ru/man1/joe.1.gz @dirrmtry man/ru/man1 @dirrmtry man/ru @dirrmtry %%DATADIR%%/charmaps |