Date: Thu, 8 May 2014 23:40:51 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353364 - in head/cad/gdsreader: . files Message-ID: <201405082340.s48Nepn8098835@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Thu May 8 23:40:50 2014 New Revision: 353364 URL: http://svnweb.freebsd.org/changeset/ports/353364 QAT: https://qat.redports.org/buildarchive/r353364/ Log: Support stage Modified: head/cad/gdsreader/Makefile head/cad/gdsreader/files/patch-Makefile Modified: head/cad/gdsreader/Makefile ============================================================================== --- head/cad/gdsreader/Makefile Thu May 8 23:06:57 2014 (r353363) +++ head/cad/gdsreader/Makefile Thu May 8 23:40:50 2014 (r353364) @@ -10,24 +10,16 @@ DISTNAME= GDSreader.${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= GDS2 stream file to Postscript and HP/GL converter -MAN1= gdsreader.1 maptolayer.1 PORTDOCS= README README.povray ChangeLog EXFILES= layers.config test.gds layers.config.7HP.5ML \ layers.config.5AM.4ML PLIST_FILES= bin/gdsreader bin/maptolayer \ - ${EXFILES:S,^,${EXAMPLESDIR_REL}/,} + ${EXFILES:S,^,${EXAMPLESDIR_REL}/,} \ + man/man1/gdsreader.1.gz man/man1/maptolayer.1.gz PLIST_DIRS= ${EXAMPLESDIR_REL} -NO_STAGE= yes +INSTALL_TARGET= install install-data install-docs OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - -post-install: - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} install-data -.if ${PORT_OPTIONS:MDOCS} - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} install-docs -.endif - .include <bsd.port.mk> Modified: head/cad/gdsreader/files/patch-Makefile ============================================================================== --- head/cad/gdsreader/files/patch-Makefile Thu May 8 23:06:57 2014 (r353363) +++ head/cad/gdsreader/files/patch-Makefile Thu May 8 23:40:50 2014 (r353364) @@ -28,16 +28,16 @@ - layers.config.5AM.4ML $(DOCDIR) - mkdir -p $(BINDIR) && cp -f maptolayer gdsreader $(BINDIR) - mkdir -p $(MANDIR) && cp -f maptolayer.1 gdsreader.1 $(MANDIR) -+ mkdir -p $(BINDIR) && ${INSTALL_PROGRAM} maptolayer gdsreader $(BINDIR) -+ mkdir -p $(MANDIR) && ${INSTALL_MAN} maptolayer.1 gdsreader.1 $(MANDIR) ++ mkdir -p $(DESTDIR)$(BINDIR) && ${INSTALL_PROGRAM} maptolayer gdsreader $(DESTDIR)$(BINDIR) ++ mkdir -p $(DESTDIR)$(MANDIR) && ${INSTALL_MAN} maptolayer.1 gdsreader.1 $(DESTDIR)$(MANDIR) + +install-docs: -+ mkdir -p $(DOCDIR) && ${INSTALL_DATA} README README.povray \ -+ ChangeLog $(DOCDIR) ++ mkdir -p $(DESTDIR)$(DOCDIR) && ${INSTALL_DATA} README README.povray \ ++ ChangeLog $(DESTDIR)$(DOCDIR) + +install-data: -+ mkdir -p $(EXDIR) && ${INSTALL_DATA} layers.config test.gds \ -+ layers.config.7HP.5ML layers.config.5AM.4ML $(EXDIR) ++ mkdir -p $(DESTDIR)$(EXDIR) && ${INSTALL_DATA} layers.config test.gds \ ++ layers.config.7HP.5ML layers.config.5AM.4ML $(DESTDIR)$(EXDIR) maptolayer: maptolayer.c $(CC) -o maptolayer maptolayer.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405082340.s48Nepn8098835>