Date: Mon, 25 Aug 2014 18:33:44 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366124 - in head/graphics/gpsmanshp: . files Message-ID: <201408251833.s7PIXio3059654@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Aug 25 18:33:44 2014 New Revision: 366124 URL: http://svnweb.freebsd.org/changeset/ports/366124 QAT: https://qat.redports.org/buildarchive/r366124/ Log: - Stagify - Fix docs installation Modified: head/graphics/gpsmanshp/Makefile head/graphics/gpsmanshp/files/patch-Makefile Modified: head/graphics/gpsmanshp/Makefile ============================================================================== --- head/graphics/gpsmanshp/Makefile Mon Aug 25 18:29:57 2014 (r366123) +++ head/graphics/gpsmanshp/Makefile Mon Aug 25 18:33:44 2014 (r366124) @@ -19,11 +19,10 @@ LIB_DEPENDS= libshp.so:${PORTSDIR}/devel TCLVERSION?= 8.4 PLIST_SUB= TCLVERSION=${TCLVERSION} PORTVERSION=${PORTVERSION} -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/doc/* ${DOCSDIR} -.endif + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Modified: head/graphics/gpsmanshp/files/patch-Makefile ============================================================================== --- head/graphics/gpsmanshp/files/patch-Makefile Mon Aug 25 18:29:57 2014 (r366123) +++ head/graphics/gpsmanshp/files/patch-Makefile Mon Aug 25 18:33:44 2014 (r366124) @@ -7,7 +7,7 @@ +TCLLVERSION = 84 -INSTALLDIR = /usr/lib/tcl$(TCLVERSION) -+INSTALLDIR = ${PREFIX}/lib/tcl$(TCLVERSION)/gpsmanshp-$(VERSION) ++INSTALLDIR = ${DESTDIR}${PREFIX}/lib/tcl$(TCLVERSION)/gpsmanshp-$(VERSION) -CFLAGS = -Wall -fPIC -c -I/usr/include/tcl$(TCLVERSION) -LINKOPT = -lshp -ltcl$(TCLVERSION) @@ -28,8 +28,9 @@ chmod 644 gpsmanshp.so pkgIndex.tcl install: pkgIndex.tcl - -mkdir $(INSTALLDIR) +- -mkdir $(INSTALLDIR) - cp gpsmanshp.so pkgIndex.tcl $(INSTALLDIR) ++ -mkdir -p $(INSTALLDIR) + install -c -s -m 555 -o root -g wheel gpsmanshp.so $(INSTALLDIR)/ + install -c -m 555 -o root -g wheel pkgIndex.tcl $(INSTALLDIR)/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408251833.s7PIXio3059654>