Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2014 10:13:21 +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: r348675 - head/misc/pdmenu
Message-ID:  <201403201013.s2KADLuc059887@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Mar 20 10:13:21 2014
New Revision: 348675
URL: http://svnweb.freebsd.org/changeset/ports/348675
QAT: https://qat.redports.org/buildarchive/r348675/

Log:
  - Support staging
  - USES -> gmake

Modified:
  head/misc/pdmenu/Makefile

Modified: head/misc/pdmenu/Makefile
==============================================================================
--- head/misc/pdmenu/Makefile	Thu Mar 20 10:04:07 2014	(r348674)
+++ head/misc/pdmenu/Makefile	Thu Mar 20 10:13:21 2014	(r348675)
@@ -18,45 +18,43 @@ LIB_DEPENDS=	slang.2:${PORTSDIR}/devel/l
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-USES=		gettext
-USE_GMAKE=	yes
+USES=		gettext gmake
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	SLANG_H_LOC="${LOCALBASE}/include/slang.h" \
 		SLANG_LIB_LOC="${LOCALBASE}/lib" \
 		LIBS="-lcurses -lintl"
 CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib
 
-MAN1=		pdmenu.1
-MAN5=		pdmenurc.5
 PLIST_FILES=	bin/pdmenu \
 		etc/pdmenurc \
 		share/locale/da/LC_MESSAGES/pdmenu.mo \
 		share/locale/es/LC_MESSAGES/pdmenu.mo \
 		share/locale/fr/LC_MESSAGES/pdmenu.mo \
 		share/locale/ru/LC_MESSAGES/pdmenu.mo \
+		man/man1/pdmenu.1.gz \
+		man/man5/pdmenurc.5.gz \
 		%%DATADIR%%/editdir.pl \
 		%%DATADIR%%/showdir.pl
 PLIST_DIRS=	%%DATADIR%%
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/^LANGS/s|=.*$$|= da es fr ru|g' ${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/pdmenu ${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/examples/pdmenurc ${PREFIX}/etc
-	${INSTALL_MAN} ${WRKSRC}/doc/pdmenu.man ${MANPREFIX}/man/man1/pdmenu.1
-	${INSTALL_MAN} ${WRKSRC}/doc/pdmenurc.man ${MAN5PREFIX}/man/man5/pdmenurc.5
-	@${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/examples/*.pl ${DATADIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/pdmenu ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/examples/pdmenurc ${STAGEDIR}${PREFIX}/etc
+	${INSTALL_MAN} ${WRKSRC}/doc/pdmenu.man ${STAGEDIR}${MANPREFIX}/man/man1/pdmenu.1
+	${INSTALL_MAN} ${WRKSRC}/doc/pdmenurc.man ${STAGEDIR}${MANPREFIX}/man/man5/pdmenurc.5
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/*.pl ${STAGEDIR}${DATADIR}
 .for lang in da es fr ru
-	@${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES
 	${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \
-		${PREFIX}/share/locale/${lang}/LC_MESSAGES/pdmenu.mo
+		${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/pdmenu.mo
 .endfor
 
 post-install:
-	@${STRIP_CMD} ${PREFIX}/bin/pdmenu
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pdmenu
 
 .include <bsd.port.mk>



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