1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Stagify

- Fix docs installation
This commit is contained in:
Dmitry Marakasov 2014-08-25 18:33:44 +00:00
parent 04fe1b9af9
commit 7ea323c3bd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366124
2 changed files with 7 additions and 7 deletions

View File

@ -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>

View File

@ -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)/