Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 07:22:53 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342942 - head/net/aslookup
Message-ID:  <201402060722.s167Mrhc091598@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Thu Feb  6 07:22:53 2014
New Revision: 342942
URL: http://svnweb.freebsd.org/changeset/ports/342942
QAT: https://qat.redports.org/buildarchive/r342942/

Log:
  - Stage support

Modified:
  head/net/aslookup/Makefile

Modified: head/net/aslookup/Makefile
==============================================================================
--- head/net/aslookup/Makefile	Thu Feb  6 07:22:36 2014	(r342941)
+++ head/net/aslookup/Makefile	Thu Feb  6 07:22:53 2014	(r342942)
@@ -11,18 +11,15 @@ DISTNAME=	${PORTNAME}-alpha${PORTVERSION
 MAINTAINER=	jmohacsi@bsd.hu
 COMMENT=	Tool that searches the sequence of AS numbers
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -E -e "s|CFLAGS.*=|CFLAGS +=|" \
 		-e "s|CC.*=|CC ?=|" ${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/aslookup ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	@if [ ! -d ${PREFIX}/share/doc/aslookup ]; then 	\
-		${MKDIR} ${PREFIX}/share/doc/aslookup; fi
+	${INSTALL_PROGRAM} ${WRKSRC}/aslookup ${STAGEDIR}${PREFIX}/bin
+	@if [ ! -d ${STAGEDIR}${PREFIX}/share/doc/aslookup ]; then 	\
+		${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/aslookup; fi
 	${INSTALL_DATA} ${WRKSRC}/readme-eng.txt ${WRKSRC}/readme-jp.txt   \
-		${PREFIX}/share/doc/aslookup
-.endif
+		${STAGEDIR}${PREFIX}/share/doc/aslookup
 
 .include <bsd.port.mk>



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