Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2014 08:46:50 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338848 - head/x11/bricons
Message-ID:  <201401060846.s068ko4T044888@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Jan  6 08:46:49 2014
New Revision: 338848
URL: http://svnweb.freebsd.org/changeset/ports/338848

Log:
  Support stage

Modified:
  head/x11/bricons/Makefile
  head/x11/bricons/pkg-plist

Modified: head/x11/bricons/Makefile
==============================================================================
--- head/x11/bricons/Makefile	Mon Jan  6 08:44:25 2014	(r338847)
+++ head/x11/bricons/Makefile	Mon Jan  6 08:46:49 2014	(r338848)
@@ -18,11 +18,6 @@ USES=		imake perl5
 USE_PERL5=	build
 USE_XORG=	xaw
 
-MAN1=		bricons.1
-
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/Xbricons
@@ -30,15 +25,10 @@ post-patch:
 		's|^unsigned int argc|int argc|' ${WRKSRC}/main.c
 
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/Xbricons ${PREFIX}/lib/X11/app-defaults
-	${MKDIR} ${PREFIX}/include/X11/bitmaps
-	${INSTALL_DATA} ${WRKSRC}/bitmaps/* ${PREFIX}/include/X11/bitmaps
-	${MKDIR} ${PREFIX}/include/X11/pixmaps
-	${INSTALL_DATA} ${WRKSRC}/*.xpm ${PREFIX}/include/X11/pixmaps
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "     Use ./files/DOTbriconsrc as an example. This  file"
-	@${ECHO_MSG} "     should  be  stored in the same directory as the"
-	@${ECHO_MSG} "     program is executed from."
-	@${ECHO_MSG} ""
+	${INSTALL_DATA} ${WRKSRC}/Xbricons ${STAGEDIR}${PREFIX}/lib/X11/app-defaults
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/X11/bitmaps
+	${INSTALL_DATA} ${WRKSRC}/bitmaps/* ${STAGEDIR}${PREFIX}/include/X11/bitmaps
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/X11/pixmaps
+	${INSTALL_DATA} ${WRKSRC}/*.xpm ${STAGEDIR}${PREFIX}/include/X11/pixmaps
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/x11/bricons/pkg-plist
==============================================================================
--- head/x11/bricons/pkg-plist	Mon Jan  6 08:44:25 2014	(r338847)
+++ head/x11/bricons/pkg-plist	Mon Jan  6 08:46:49 2014	(r338848)
@@ -8,5 +8,6 @@ include/X11/pixmaps/clock.xpm
 include/X11/pixmaps/editor.xpm
 include/X11/pixmaps/mail.xpm
 include/X11/pixmaps/news.xpm
+man/man1/bricons.1.gz
 @dirrmtry include/X11/bitmaps
 @dirrmtry include/X11/pixmaps



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