mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Stagify
- Fix docs installation
This commit is contained in:
parent
04fe1b9af9
commit
7ea323c3bd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366124
@ -19,11 +19,10 @@ LIB_DEPENDS= libshp.so:${PORTSDIR}/devel/shapelib \
|
||||
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>
|
||||
|
@ -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)/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user