Date: Thu, 8 May 2014 10:56:18 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353287 - head/editors/thoteditor Message-ID: <201405081056.s48AuIVY051051@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Thu May 8 10:56:17 2014 New Revision: 353287 URL: http://svnweb.freebsd.org/changeset/ports/353287 QAT: https://qat.redports.org/buildarchive/r353287/ Log: Complete previous commit, missed some files Modified: head/editors/thoteditor/Makefile head/editors/thoteditor/pkg-plist Modified: head/editors/thoteditor/Makefile ============================================================================== --- head/editors/thoteditor/Makefile Thu May 8 10:54:32 2014 (r353286) +++ head/editors/thoteditor/Makefile Thu May 8 10:56:17 2014 (r353287) @@ -17,32 +17,35 @@ THOT_SUBDIR= Target USES= gmake motif WRKSRC= $(WRKDIR)/Thot/$(THOT_SUBDIR) GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-thot --enable-plugin --without-insure --without-amaya --disable-java --disable-intr --disable-jit --disable-math --disable-ilu +CONFIGURE_ARGS= --with-thot --enable-plugin --without-insure --without-amaya \ + --disable-java --disable-intr --disable-jit --disable-math \ + --disable-ilu ALL_TARGET= all schemas +SUB_FILES= thoteditor MAKE_JOBS_UNSAFE= yes -MAN1= cextract.1 -MAN5= cextrc.5 -NO_STAGE= yes -.include <bsd.port.pre.mk> +post-extract: + @${MKDIR} ${WRKSRC} + +post-patch: + @${REINPLACE_CMD} 's|-g -O|${CFLAGS}|' \ + ${WRKDIR}/Thot/configure + @${REINPLACE_CMD} 's|%%MOTIFLIB%%|${MOTIFLIB}|' \ + ${WRKDIR}/Thot/thot/Makefile.in + @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|' \ + ${WRKDIR}/Thot/thotlib/base/registry.c + @${REINPLACE_CMD} 's|/usr/wsrc/|/usr/tmp/|' \ + ${WRKDIR}/Thot/thotlib/include/sysdep.h do-configure: - $(CP) $(WRKSRC)/../thot/Makefile.in $(WRKSRC)/../thot/Makefile.in.patched - $(SED) -e "s&%%MOTIFLIB%%&$(MOTIFLIB)&" <$(WRKSRC)/../thot/Makefile.in.patched >$(WRKSRC)/../thot/Makefile.in (cd $(WRKSRC);../configure $(CONFIGURE_ARGS)) -post-configure: - $(CP) $(WRKSRC)/../thotlib/base/registry.c $(WRKSRC)/../thotlib/base/registry.c.orig - $(SED) -e "s&%%PREFIX%%&$(PREFIX)&" <$(WRKSRC)/../thotlib/base/registry.c.orig >$(WRKSRC)/../thotlib/base/registry.c - -post-extract: - (cd $(WRKDIR)/Thot;$(MKDIR) $(THOT_SUBDIR)) - post-install: - ${MKDIR} ${PREFIX}/share/thot/doc - $(SED) -e "s&%%PREFIX%%&$(PREFIX)&" < $(FILESDIR)/thoteditor > $(WRKDIR)/thoteditor - $(INSTALL_SCRIPT) $(WRKDIR)/thoteditor $(PREFIX)/bin - $(INSTALL_MAN) $(WRKSRC)/../tools/cextract-1.7/cextrc.5 $(PREFIX)/man/man5 - $(INSTALL_MAN) $(WRKSRC)/../tools/cextract-1.7/cextract.man $(PREFIX)/man/man1/cextract.1 + @${MKDIR} ${STAGEDIR}${PREFIX}/share/thot/doc + ${INSTALL_SCRIPT} ${WRKDIR}/thoteditor ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKDIR}/Thot/tools/cextract-1.7/cextract.man \ + ${STAGEDIR}${PREFIX}/man/man1/cextract.1 + ${INSTALL_MAN} ${WRKDIR}/Thot/tools/cextract-1.7/cextrc.5 \ + ${STAGEDIR}${PREFIX}/man/man5 -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/editors/thoteditor/pkg-plist ============================================================================== --- head/editors/thoteditor/pkg-plist Thu May 8 10:54:32 2014 (r353286) +++ head/editors/thoteditor/pkg-plist Thu May 8 10:56:17 2014 (r353287) @@ -8,6 +8,8 @@ bin/print bin/prs bin/thot bin/thoteditor +man/man1/cextract.1.gz +man/man5/cextrc.5.gz share/thot/batch/APP.GRM share/thot/batch/PRESEN.GRM share/thot/batch/STRUCT.GRM
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405081056.s48AuIVY051051>