Index: head/lang/itcl4/Makefile =================================================================== --- head/lang/itcl4/Makefile (revision 416497) +++ head/lang/itcl4/Makefile (revision 416498) @@ -1,19 +1,23 @@ # Created by: gahr # $FreeBSD$ PORTNAME= itcl4 PORTVERSION= 4.0.4 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= TCLTK/itcl \ SF/incrtcl/%5Bincr%20Tcl_Tk%5D-4-source/itcl%20${PORTVERSION}/ DISTNAME= itcl${PORTVERSION} MAINTAINER= tcltk@FreeBSD.org COMMENT= Object-oriented extension to Tcl [incr Tcl] USES+= tcl:86,tea CONFIGURE_ARGS+=--includedir=${PREFIX}/include/itcl${PORTVERSION:R} PLIST_SUB+= PKGVER=${PORTVERSION} TEST_TARGET= test + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/itcl${PORTVERSION}/libitcl${PORTVERSION}.so .include Index: head/lang/itcl4/files/patch-Makefile.in =================================================================== --- head/lang/itcl4/files/patch-Makefile.in (revision 416497) +++ head/lang/itcl4/files/patch-Makefile.in (revision 416498) @@ -1,27 +1,18 @@ --- Makefile.in.orig 2013-11-21 20:49:06 UTC +++ Makefile.in -@@ -93,7 +93,7 @@ INSTALL_DATA_DIR = ${INSTALL} -d -m 755 - INSTALL_PROGRAM = ${INSTALL} -m 755 - INSTALL_DATA = ${INSTALL} -m 644 - INSTALL_SCRIPT = ${INSTALL_PROGRAM} --INSTALL_LIBRARY = ${INSTALL_DATA} -+INSTALL_LIBRARY = ${INSTALL_DATA} -s - - PACKAGE_NAME = @PACKAGE_NAME@ - PACKAGE_VERSION = @PACKAGE_VERSION@ @@ -222,11 +222,12 @@ install-doc: doc @$(INSTALL_DATA_DIR) $(DESTDIR)$(mandir)/mann @echo "Installing documentation in $(DESTDIR)$(mandir)" @cd $(srcdir)/doc; for i in *.n; do \ + sfxname=`basename $$i | sed -e 's|.n$$|.i4|'`; \ echo "Installing $$i"; \ - rm -f $(DESTDIR)$(mandir)/mann/`basename $$i`; \ + rm -f $(DESTDIR)$(mandir)/mann/$$sfxname; \ sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \ - $$i > $(DESTDIR)$(mandir)/mann/$$i; \ - chmod 444 $(DESTDIR)$(mandir)/mann/$$i; \ + $$i > $(DESTDIR)$(mandir)/mann/$$sfxname; \ + chmod 444 $(DESTDIR)$(mandir)/mann/$$sfxname; \ done test: binaries libraries