svn commit: r349117 - head/deskutils/babytrans

Pawel Pekala pawel at FreeBSD.org
Tue Mar 25 09:40:16 UTC 2014


Author: pawel
Date: Tue Mar 25 09:40:16 2014
New Revision: 349117
URL: http://svnweb.freebsd.org/changeset/ports/349117
QAT: https://qat.redports.org/buildarchive/r349117/

Log:
  Add staging support

Modified:
  head/deskutils/babytrans/Makefile

Modified: head/deskutils/babytrans/Makefile
==============================================================================
--- head/deskutils/babytrans/Makefile	Tue Mar 25 09:28:59 2014	(r349116)
+++ head/deskutils/babytrans/Makefile	Tue Mar 25 09:40:16 2014	(r349117)
@@ -10,26 +10,25 @@ MASTER_SITES=	http://fjolliton.free.fr/b
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	GTK+/GNOME front-end for Babylon Translator .dic files
 
-USES=        pathfix gettext
+USES=        	gmake gettext pathfix
 USE_GNOME=	gtk12 gnomeprefix
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	${CXXFLAGS} -I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
-USE_GMAKE=	yes
 PKGMESSAGE=	${WRKDIR}/pkg-message
 SUB_FILES=	pkg-message
 
-NO_STAGE=	yes
 post-patch:
 .for file in de es fr pt_BR
 	@${REINPLACE_CMD} -e "s|CHARSET|ISO-8859-1|" \
 		-e "s|ENCODING|8bit|" ${WRKSRC}/po/${file}.po
 .endfor
+	@${REINPLACE_CMD} '/destdir=/ s|=|=${STAGEDIR}|' \
+		${WRKSRC}/po/Makefile.in.in
 
 post-install:
-	@${MKDIR} ${DATADIR}
-	@${MKDIR} ${PREFIX}/share/applets/Utility
-	${INSTALL_DATA} ${WRKSRC}/config-file/dictionary ${DATADIR}
-	@${CAT} ${PKGMESSAGE}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/applets/Utility
+	${INSTALL_DATA} ${WRKSRC}/config-file/dictionary ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list