From owner-svn-ports-head@FreeBSD.ORG Thu May 8 23:40:51 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AF1356A2; Thu, 8 May 2014 23:40:51 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 82150263; Thu, 8 May 2014 23:40:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s48NepnB098858; Thu, 8 May 2014 23:40:51 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s48Nepn8098835; Thu, 8 May 2014 23:40:51 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201405082340.s48Nepn8098835@svn.freebsd.org> From: Baptiste Daroussin Date: Thu, 8 May 2014 23:40:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353364 - in head/cad/gdsreader: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2014 23:40:51 -0000 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 - -post-install: - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} install-data -.if ${PORT_OPTIONS:MDOCS} - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} install-docs -.endif - .include 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