Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 23:58:42 +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: r340753 - head/devel/avce00
Message-ID:  <201401222358.s0MNwgKE029916@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Jan 22 23:58:42 2014
New Revision: 340753
URL: http://svnweb.freebsd.org/changeset/ports/340753
QAT: https://qat.redports.org/buildarchive/r340753/

Log:
  Support stage

Modified:
  head/devel/avce00/Makefile

Modified: head/devel/avce00/Makefile
==============================================================================
--- head/devel/avce00/Makefile	Wed Jan 22 23:58:13 2014	(r340752)
+++ head/devel/avce00/Makefile	Wed Jan 22 23:58:42 2014	(r340753)
@@ -9,7 +9,9 @@ MASTER_SITES=	http://avce00.maptools.org
 MAINTAINER=	wen@FreeBSD.org
 COMMENT=	OpenSource C library convert Arc/Info Vector Coverages to E00
 
-USE_GMAKE=	yes
+OPTIONS_DEFINE=	DOCS
+
+USES=		gmake
 ALL_TARGET=	default
 BIN_FILES=	avcimport avcexport avcdelete avctest ex_avcwrite
 
@@ -21,7 +23,6 @@ PLIST_FILES=	bin/avcimport bin/avcexport
 
 PORTDOCS=	avce00.html
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-extract:
@@ -33,15 +34,11 @@ post-extract:
 
 do-install:
 .for i in ${BIN_FILES}
-	${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin/
+	${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin/
 .endfor
-	${INSTALL_DATA} ${WRKSRC}/avc.a ${PREFIX}/lib
-	${INSTALL_DATA} ${WRKSRC}/avc.h ${PREFIX}/include
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/avce00.html ${DOCSDIR}
-.endif
+	${INSTALL_DATA} ${WRKSRC}/avc.a ${STAGEDIR}${PREFIX}/lib
+	${INSTALL_DATA} ${WRKSRC}/avc.h ${STAGEDIR}${PREFIX}/include
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/avce00.html ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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