Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2014 09:50:20 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345789 - in head/x11/sterm: . files
Message-ID:  <201402240950.s1O9oKSj037802@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Mon Feb 24 09:50:20 2014
New Revision: 345789
URL: http://svnweb.freebsd.org/changeset/ports/345789
QAT: https://qat.redports.org/buildarchive/r345789/

Log:
  Support staging

Modified:
  head/x11/sterm/Makefile
  head/x11/sterm/files/patch-Makefile

Modified: head/x11/sterm/Makefile
==============================================================================
--- head/x11/sterm/Makefile	Mon Feb 24 09:14:02 2014	(r345788)
+++ head/x11/sterm/Makefile	Mon Feb 24 09:50:20 2014	(r345789)
@@ -15,17 +15,15 @@ LICENSE_NAME=	MIT/X Consortium License
 LICENSE_FILE=	${WRKSRC}/LICENSE
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-LIB_DEPENDS=	fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
-		freetype:${PORTSDIR}/print/freetype2
+LIB_DEPENDS=	libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
+		libfreetype.so:${PORTSDIR}/print/freetype2
 
-USES=	pkgconfig ncurses:port
+USES=		pkgconfig ncurses:port
 USE_XORG=	x11 xext xft
-MAN1=	st.1
-PLIST_FILES=	bin/st
 
-PORTDOCS=	README
+PLIST_FILES=	bin/st man/man1/st.1.gz
 
-NO_STAGE=	yes
+PORTDOCS=	README
 
 OPTIONS_DEFINE=	DOCS
 
@@ -49,11 +47,10 @@ post-patch:
 		${WRKSRC}/config.mk
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/st
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for doc in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>

Modified: head/x11/sterm/files/patch-Makefile
==============================================================================
--- head/x11/sterm/files/patch-Makefile	Mon Feb 24 09:14:02 2014	(r345788)
+++ head/x11/sterm/files/patch-Makefile	Mon Feb 24 09:50:20 2014	(r345789)
@@ -1,11 +1,10 @@
---- Makefile.orig	2013-06-26 00:09:00.000000000 -0500
-+++ Makefile	2013-06-26 00:10:14.000000000 -0500
-@@ -49,7 +49,7 @@
+--- Makefile.orig	2013-04-20 15:29:39.000000000 +0200
++++ Makefile	2014-02-24 10:49:11.418450591 +0100
+@@ -49,7 +49,6 @@
  	@sed "s/VERSION/${VERSION}/g" < st.1 > ${DESTDIR}${MANPREFIX}/man1/st.1
  	@chmod 644 ${DESTDIR}${MANPREFIX}/man1/st.1
  	@echo Please see the README file regarding the terminfo entry of st.
 -	@tic -s st.info
-+	@tic -s -o  ${LOCALBASE}/share/misc st.info
  
  uninstall:
  	@echo removing executable file from ${DESTDIR}${PREFIX}/bin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402240950.s1O9oKSj037802>