Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2013 20:06:33 +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: r331990 - head/games/an
Message-ID:  <201310292006.r9TK6Xmo014299@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Tue Oct 29 20:06:32 2013
New Revision: 331990
URL: http://svnweb.freebsd.org/changeset/ports/331990

Log:
  - Add stage support
  - Remove pkg-plist

Deleted:
  head/games/an/pkg-plist
Modified:
  head/games/an/Makefile

Modified: head/games/an/Makefile
==============================================================================
--- head/games/an/Makefile	Tue Oct 29 20:03:39 2013	(r331989)
+++ head/games/an/Makefile	Tue Oct 29 20:06:32 2013	(r331990)
@@ -13,9 +13,9 @@ COMMENT=	Fast anagram generator
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-MAN6=		an.6
+PLIST_FILES=	bin/${PORTNAME} \
+		man/man6/${PORTNAME}.6.gz
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e '/<stdint.h>/d' ${WRKSRC}/an.c
 
@@ -24,7 +24,7 @@ do-build:
 		-o ${PORTNAME} ${LDFLAGS}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/an ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/an.6 ${MANPREFIX}/man/man6
+	${INSTALL_PROGRAM} ${WRKSRC}/an ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/an.6 ${STAGEDIR}${MANPREFIX}/man/man6
 
 .include <bsd.port.mk>



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