Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2014 13:26:19 +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: r348996 - head/misc/metalink-editor
Message-ID:  <201403241326.s2ODQJpd003063@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Mar 24 13:26:18 2014
New Revision: 348996
URL: http://svnweb.freebsd.org/changeset/ports/348996
QAT: https://qat.redports.org/buildarchive/r348996/

Log:
  Switch to wx 2.8
  Support stage

Modified:
  head/misc/metalink-editor/Makefile

Modified: head/misc/metalink-editor/Makefile
==============================================================================
--- head/misc/metalink-editor/Makefile	Mon Mar 24 13:23:13 2014	(r348995)
+++ head/misc/metalink-editor/Makefile	Mon Mar 24 13:26:18 2014	(r348996)
@@ -15,13 +15,16 @@ COMMENT=	GUI editor to create and edit m
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKDIR}/license.txt
 
+OPTIONS_DEFINE=	DOCS
+
 USES=		dos2unix zip
 DOS2UNIX_REGEX=	.*\.txt
 NO_WRKSUBDIR=	yes
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
 PYDISTUTILS_EGGINFO=	metalink_editor-${PORTVERSION}-py${PYTHON_VER}.egg-info
-USE_WX=		2.6
+USE_WX=		2.8
+WX_UNICODE=	yes
 WX_COMPS=	python
 
 DATADIR=	${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
@@ -39,11 +42,8 @@ DESKTOP_ENTRIES=	"Metalink editor" \
 DOC_FILES=	\
 		readme.txt
 #
-.ifndef(NOPORTDOCS)
 PORTDOCS=	*
-.endif
 
-NO_STAGE=	yes
 post-extract:
 # Create a package to avoid namespace pollution
 	@${MKDIR} ${WRKSRC}/Metalink_editor
@@ -66,16 +66,14 @@ pre-configure:
 
 post-install:
 # docs
-.ifndef(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in ${DOC_FILES}
-	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 # fix installation permissions for restritive umask(1)
 	@${FIND} \
-		${DATADIR} \
-		${PYTHONPREFIX_SITELIBDIR}/Metalink_editor \
+		${STAGEDIR}${DATADIR} \
+		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Metalink_editor \
 		-type f -exec \
 		${CHMOD} ${SHAREMODE} {} \;
 



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