Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2014 00:03:24 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350746 - head/irc/irssi-fish
Message-ID:  <201404100003.s3A03OQ9011932@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Thu Apr 10 00:03:24 2014
New Revision: 350746
URL: http://svnweb.freebsd.org/changeset/ports/350746
QAT: https://qat.redports.org/buildarchive/r350746/

Log:
  - Remove bsd.port.pre.mk
  - Convert to OPTIONSNG
  - Stage

Modified:
  head/irc/irssi-fish/Makefile

Modified: head/irc/irssi-fish/Makefile
==============================================================================
--- head/irc/irssi-fish/Makefile	Wed Apr  9 23:16:05 2014	(r350745)
+++ head/irc/irssi-fish/Makefile	Thu Apr 10 00:03:24 2014	(r350746)
@@ -22,8 +22,7 @@ USE_LDCONFIG=	yes
 PLIST_FILES=	lib/irssi/modules/libfish.so
 PORTDOCS=	FiSH-irssi.txt FiSH-irssi_History.txt
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if ${ARCH} == "amd64"
 ALL_TARGET=	amd64
@@ -46,13 +45,13 @@ post-patch:
 	@${REINPLACE_CMD} -e '/mirdef.lnx/d' ${WRKSRC}/Makefile
 
 do-install:
-.ifndef(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for doc in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
-	${MKDIR} ${PREFIX}/lib/irssi/modules
-	${INSTALL_PROGRAM} ${WRKSRC}/libfish.so ${PREFIX}/lib/irssi/modules
+	${MKDIR} ${STAGEDIR}${PREFIX}/lib/irssi/modules
+	${INSTALL_PROGRAM} ${WRKSRC}/libfish.so ${STAGEDIR}${PREFIX}/lib/irssi/modules
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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