svn commit: r345789 - in head/x11/sterm: . files
Emanuel Haupt
ehaupt at FreeBSD.org
Mon Feb 24 09:50:21 UTC 2014
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
More information about the svn-ports-all
mailing list