Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2013 13:24:51 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335981 - head/misc/cwish
Message-ID:  <201312091324.rB9DOpxS016321@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Mon Dec  9 13:24:51 2013
New Revision: 335981
URL: http://svnweb.freebsd.org/changeset/ports/335981

Log:
  - Add stage support
  - Simplify the Makefile

Modified:
  head/misc/cwish/Makefile

Modified: head/misc/cwish/Makefile
==============================================================================
--- head/misc/cwish/Makefile	Mon Dec  9 13:17:59 2013	(r335980)
+++ head/misc/cwish/Makefile	Mon Dec  9 13:24:51 2013	(r335981)
@@ -12,18 +12,14 @@ COMMENT=	Curses based user friendly wind
 
 NO_WRKSUBDIR=	yes
 ALL_TARGET=	cwish
-MAN1=		cwish.1
-PLIST_FILES=	bin/cwish
+PLIST_FILES=	bin/cwish man/man1/cwish.1.gz
+MAKEFILE=	Makefile.FreeBSD
 
-NO_STAGE=	yes
 post-patch:
 	${REINPLACE_CMD} -e 65d ${WRKSRC}/cwish.h
 
-pre-configure:
-	${CP} ${WRKSRC}/Makefile.FreeBSD ${WRKSRC}/Makefile
-
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/cwish ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/cwish.1 ${MANPREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/cwish ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/cwish.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>



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