Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2014 14:53:00 +0000 (UTC)
From:      Vanilla I. Shu <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364282 - head/textproc/pure-xml
Message-ID:  <53e392cc.5d6f.2e60ede4@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Thu Aug  7 14:52:59 2014
New Revision: 364282
URL: http://svnweb.freebsd.org/changeset/ports/364282
QAT: https://qat.redports.org/buildarchive/r364282/

Log:
  1: stagify.
  2: strip binary.

Modified:
  head/textproc/pure-xml/Makefile

Modified: head/textproc/pure-xml/Makefile
==============================================================================
--- head/textproc/pure-xml/Makefile	Thu Aug  7 14:49:32 2014	(r364281)
+++ head/textproc/pure-xml/Makefile	Thu Aug  7 14:52:59 2014	(r364282)
@@ -16,29 +16,18 @@ LICENSE_COMB=	dual
 
 USES=		pure
 USE_GNOME=	libxml2 libxslt
-
-PLIST_FILES=	lib/pure/xml.pure \
-		lib/pure/xml.so
-
-NO_STAGE=	yes
-
 PORTDOCS=	README
-
 PORTEXAMPLES=	*
-
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.options.mk>
+PLIST_FILES=	lib/pure/xml.pure \
+		lib/pure/xml.so
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
-
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
-.endif
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pure/xml.so
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e392cc.5d6f.2e60ede4>