svn commit: r345879 - head/editors/joe
Baptiste Daroussin
bapt at FreeBSD.org
Mon Feb 24 16:48:36 UTC 2014
Author: bapt
Date: Mon Feb 24 16:48:35 2014
New Revision: 345879
URL: http://svnweb.freebsd.org/changeset/ports/345879
QAT: https://qat.redports.org/buildarchive/r345879/
Log:
Support stage
Modified:
head/editors/joe/Makefile
head/editors/joe/pkg-plist
Modified: head/editors/joe/Makefile
==============================================================================
--- head/editors/joe/Makefile Mon Feb 24 16:40:25 2014 (r345878)
+++ head/editors/joe/Makefile Mon Feb 24 16:48:35 2014 (r345879)
@@ -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>
Modified: head/editors/joe/pkg-plist
==============================================================================
--- head/editors/joe/pkg-plist Mon Feb 24 16:40:25 2014 (r345878)
+++ head/editors/joe/pkg-plist Mon Feb 24 16:48:35 2014 (r345879)
@@ -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
More information about the svn-ports-all
mailing list