Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2013 15:08:09 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332390 - head/x11/fbpanel
Message-ID:  <201311011508.rA1F89ZI030554@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bsam
Date: Fri Nov  1 15:08:09 2013
New Revision: 332390
URL: http://svnweb.freebsd.org/changeset/ports/332390

Log:
  . support STAGE;
  . convert USE_GMAKE to USES;
  . simplify Makefile and remove bsd.port.options.mk.
  
  PR:		ports/183553
  Submitted by:	bsam (me)
  Approved by:	nemysis (maintainer)

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

Modified: head/x11/fbpanel/Makefile
==============================================================================
--- head/x11/fbpanel/Makefile	Fri Nov  1 14:58:06 2013	(r332389)
+++ head/x11/fbpanel/Makefile	Fri Nov  1 15:08:09 2013	(r332390)
@@ -14,13 +14,10 @@ COMMENT=	Lightweight, NETWM compliant X1
 LICENSE=	MIT
 
 USE_BZIP2=	yes
-USES=		pkgconfig
+USES=		gmake pkgconfig
 USE_GNOME=	gtk20
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX}
-USE_GMAKE=	yes
-
-MAN1=		${PORTNAME}.1
 
 PORTDOCS=	CHANGELOG CREDITS NOTES README
 
@@ -29,21 +26,15 @@ OPTIONS_DEFINE=	DOCS
 DESKTOP_ENTRIES="${PORTNAME}" "${PORTNAME} NETWM compliant X11 desktop panel" \
 		"${PORTNAME}" "${PORTNAME}" "System;" false
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/scripts/install.sh
 	@${REINPLACE_CMD} -e 's|@DATADIR@|${DATADIR}|' \
-		${WRKSRC}/data/man/${MAN1}.in
+		${WRKSRC}/data/man/${PORTNAME}.1.in
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/data/man/${MAN1} ${MAN1PREFIX}/man/man1
-	${LN} -sf ${DATADIR}/images/logo.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
-
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+	${INSTALL_MAN} ${WRKSRC}/data/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${LN} -sf ${DATADIR}/images/logo.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/x11/fbpanel/pkg-plist
==============================================================================
--- head/x11/fbpanel/pkg-plist	Fri Nov  1 14:58:06 2013	(r332389)
+++ head/x11/fbpanel/pkg-plist	Fri Nov  1 15:08:09 2013	(r332390)
@@ -22,6 +22,7 @@ lib/fbpanel/tray.so
 lib/fbpanel/volume.so
 lib/fbpanel/wincmd.so
 libexec/fbpanel/make_profile
+man/man1/fbpanel.1.gz
 %%DATADIR%%/default
 %%DATADIR%%/images/battery_0.png
 %%DATADIR%%/images/battery_1.png



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