1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

- 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)
This commit is contained in:
Dmitry Marakasov 2015-09-14 17:12:35 +00:00
parent ece5f3e1d0
commit 11578ea5e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396909
2 changed files with 8 additions and 3 deletions

View File

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

View File

@ -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
@dir %%DATADIR%%/gtk