svn commit: r337768 - head/graphics/xpx

Baptiste Daroussin bapt at FreeBSD.org
Fri Dec 27 17:49:07 UTC 2013


Author: bapt
Date: Fri Dec 27 17:49:07 2013
New Revision: 337768
URL: http://svnweb.freebsd.org/changeset/ports/337768

Log:
  Support stage

Modified:
  head/graphics/xpx/Makefile

Modified: head/graphics/xpx/Makefile
==============================================================================
--- head/graphics/xpx/Makefile	Fri Dec 27 17:45:19 2013	(r337767)
+++ head/graphics/xpx/Makefile	Fri Dec 27 17:49:07 2013	(r337768)
@@ -20,7 +20,6 @@ DOCSDIR=	${PREFIX}/share/doc/ja/${PORTNA
 PORTDOCS=	xpx.doc xpxrc.eg
 PLIST_FILES=	bin/xpx
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|myname|my_name|g' ${WRKSRC}/magtoppm.c
 	@${REINPLACE_CMD} -e '/edit_mode/d' ${WRKSRC}/work.h
@@ -29,11 +28,9 @@ pre-configure:
 	@(cd ${CONFIGURE_WRKSRC}; ${SH} configure)
 
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list