svn commit: r332113 - head/textproc/uncrustify

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Oct 30 14:12:30 UTC 2013


Author: amdmi3
Date: Wed Oct 30 14:12:29 2013
New Revision: 332113
URL: http://svnweb.freebsd.org/changeset/ports/332113

Log:
  - Support staging
  - Convert USE_GMAKE to USES

Deleted:
  head/textproc/uncrustify/pkg-plist
Modified:
  head/textproc/uncrustify/Makefile

Modified: head/textproc/uncrustify/Makefile
==============================================================================
--- head/textproc/uncrustify/Makefile	Wed Oct 30 14:11:22 2013	(r332112)
+++ head/textproc/uncrustify/Makefile	Wed Oct 30 14:12:29 2013	(r332113)
@@ -10,20 +10,17 @@ MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	Highly configurable source code beautifier
 
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=		gmake
 CONFIGURE_ARGS=	--disable-silent-rules
 
-MAN1=		uncrustify.1
-
+PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
+PORTDATA=	*
 PORTDOCS=	*
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFAULT=DOCS
 
-.if ${PORT_OPTIONS:MDOCS}
 post-install:
-	${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} '*' ${DOCSDIR}
-.endif
+	cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} '*' ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list