svn commit: r396909 - head/lang/smalltalk

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Sep 14 17:12:37 UTC 2015


Author: amdmi3
Date: Mon Sep 14 17:12:35 2015
New Revision: 396909
URL: https://svnweb.freebsd.org/changeset/ports/396909

Log:
  - Fix installed manpage symlink to not point inside stagedir
  - Add missing plist entries: .pc file and empty directory (the latter is created in post-install, is it really needed?)
  - Unsilence install command
  
  PR:		202794
  Submitted by:	amdmi3
  Approved by:	maintainer timeout (johans, 2 weeks)

Modified:
  head/lang/smalltalk/Makefile
  head/lang/smalltalk/pkg-plist

Modified: head/lang/smalltalk/Makefile
==============================================================================
--- head/lang/smalltalk/Makefile	Mon Sep 14 17:11:34 2015	(r396908)
+++ head/lang/smalltalk/Makefile	Mon Sep 14 17:12:35 2015	(r396909)
@@ -3,7 +3,7 @@
 
 PORTNAME=	smalltalk
 PORTVERSION=	3.2.5
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	lang
 MASTER_SITES=	GNU
 
@@ -60,15 +60,18 @@ post-patch:
 		${WRKSRC}/libgst/prims.inl
 	@${REINPLACE_CMD} -e '/^ac_include/s/\\$$/#include <wctype.h> \\/' \
 		${WRKSRC}/snprintfv/configure
+	@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \
+		${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
 
 post-build:
 	@${SED} -e 's|@bindir@|${PREFIX}/bin|g' \
 		${WRKSRC}/gst-mode.el.in > ${WRKSRC}/gst-mode.el
 
 post-install:
+	@${LN} -sf gst-load.1 ${STAGEDIR}${MANPREFIX}/man/man1/gst-reload.1
 	@${MKDIR} ${STAGEDIR}${DATADIR}/gtk
-	@${INSTALL_DATA} ${WRKSRC}/*.el ${STAGEDIR}${PREFIX}/share/emacs/site-lisp
-	@ls -1 ${STAGEDIR}${PREFIX}/bin/gst* |grep -v config|xargs ${STRIP_CMD}
+	${INSTALL_DATA} ${WRKSRC}/*.el ${STAGEDIR}${PREFIX}/share/emacs/site-lisp
+	@${LS} -1 ${STAGEDIR}${PREFIX}/bin/gst* |grep -v config|xargs ${STRIP_CMD}
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/smalltalk/*.so
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgst.so
 

Modified: head/lang/smalltalk/pkg-plist
==============================================================================
--- head/lang/smalltalk/pkg-plist	Mon Sep 14 17:11:34 2015	(r396908)
+++ head/lang/smalltalk/pkg-plist	Mon Sep 14 17:12:35 2015	(r396909)
@@ -49,6 +49,7 @@ lib/smalltalk/sdl.so
 lib/smalltalk/zlib-%%VERSION%%.so
 lib/smalltalk/zlib.a
 lib/smalltalk/zlib.so
+libdata/pkgconfig/gnu-smalltalk.pc
 libexec/smalltalk/gnutls-wrapper
 libexec/smalltalk/vfs/deb
 libexec/smalltalk/vfs/lslR
@@ -75,3 +76,4 @@ share/aclocal/gst.m4
 share/aclocal/gst-package.m4
 share/emacs/site-lisp/gst-mode.el
 share/emacs/site-lisp/smalltalk-mode.el
+ at dir %%DATADIR%%/gtk


More information about the svn-ports-all mailing list