svn commit: r353825 - in head/devel/motor: . files

Alex Dupre ale at FreeBSD.org
Mon May 12 14:03:13 UTC 2014


Author: ale
Date: Mon May 12 14:03:12 2014
New Revision: 353825
URL: http://svnweb.freebsd.org/changeset/ports/353825
QAT: https://qat.redports.org/buildarchive/r353825/

Log:
  Stagify.

Added:
  head/devel/motor/files/patch-share_Makefile.in   (contents, props changed)
Modified:
  head/devel/motor/Makefile
  head/devel/motor/pkg-plist

Modified: head/devel/motor/Makefile
==============================================================================
--- head/devel/motor/Makefile	Mon May 12 14:01:42 2014	(r353824)
+++ head/devel/motor/Makefile	Mon May 12 14:03:12 2014	(r353825)
@@ -10,16 +10,14 @@ MASTER_SITES=	http://thekonst.net/downlo
 MAINTAINER=	ale at FreeBSD.org
 COMMENT=	A powerful text mode based programming IDE
 
-USE_BZIP2=	yes
-USE_GMAKE=	yes
-USES=		iconv
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	${ICONV_CONFIGURE_ARG}
-
-NO_STAGE=	yes
+LICENSE=	GPLv2
 
 OPTIONS_DEFINE=	DOCS NLS
 
+USES=		tar:bzip2 gmake iconv
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	${ICONV_CONFIGURE_ARG}
+
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MNLS}
@@ -31,17 +29,14 @@ CONFIGURE_ARGS+=--disable-nls
 PLIST_SUB=	NLS="@comment "
 .endif
 
-MAN1=		motor.1
-
 post-patch:
-	@${REINPLACE_CMD} -e 's|zxvf|&o|' ${WRKSRC}/share/Makefile.in
 	@${REINPLACE_CMD} -e 's|strndup|my_strndup|' ${WRKSRC}/parser/src/parser.c \
 		${WRKSRC}/parser/src/strfn.c ${WRKSRC}/parser/include/strfn.h
 
 .if ${PORT_OPTIONS:MDOCS}
 post-install:
-	@${MKDIR} ${DOCSDIR}
-	@(cd ${WRKSRC} ; ${INSTALL_DATA} FAQ README ${DOCSDIR})
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@(cd ${WRKSRC} ; ${INSTALL_DATA} FAQ README ${STAGEDIR}${DOCSDIR})
 .endif
 
 .include <bsd.port.mk>

Added: head/devel/motor/files/patch-share_Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/motor/files/patch-share_Makefile.in	Mon May 12 14:03:12 2014	(r353825)
@@ -0,0 +1,13 @@
+--- share/Makefile.in.bak	2005-02-12 15:07:17.000000000 +0000
++++ share/Makefile.in	2014-05-12 14:01:17.878391804 +0000
+@@ -225,8 +225,8 @@
+ 	-if test -d templates; then rm -f tmpl.tar.gz; fi
+ 
+ install-data-local: tmpl.tar.gz
+-	tar zxvf tmpl.tar.gz -C $(datadir)/motor/
+-	-find $(datadir)/motor/ -name CVS -type d -exec rm -rf {} \;
++	tar zxvfo tmpl.tar.gz -C $(DESTDIR)$(datadir)/motor/
++	-find $(DESTDIR)$(datadir)/motor/ -name CVS -type d -exec rm -rf {} \;
+ 	if test -d templates; then rm -f tmpl.tar.gz; fi
+ 
+ uninstall-local:

Modified: head/devel/motor/pkg-plist
==============================================================================
--- head/devel/motor/pkg-plist	Mon May 12 14:01:42 2014	(r353824)
+++ head/devel/motor/pkg-plist	Mon May 12 14:03:12 2014	(r353825)
@@ -1,5 +1,6 @@
 bin/motor
 bin/motorsync
+man/man1/motor.1.gz
 %%NLS%%share/locale/de/LC_MESSAGES/motor.mo
 %%NLS%%share/locale/pl/LC_MESSAGES/motor.mo
 %%NLS%%share/locale/ru/LC_MESSAGES/motor.mo


More information about the svn-ports-all mailing list