Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2013 14:46:46 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333105 - head/misc/boxes
Message-ID:  <201311071446.rA7EkkBB020352@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Thu Nov  7 14:46:45 2013
New Revision: 333105
URL: http://svnweb.freebsd.org/changeset/ports/333105

Log:
  - Change maintainer email to @FreeBSD.org
  - USES gmake instead of USE_GMAKE
  - Support STAGEDIR
  
  Approved by:	pawel / wg (mentors, implicit

Modified:
  head/misc/boxes/Makefile

Modified: head/misc/boxes/Makefile
==============================================================================
--- head/misc/boxes/Makefile	Thu Nov  7 14:43:36 2013	(r333104)
+++ head/misc/boxes/Makefile	Thu Nov  7 14:46:45 2013	(r333105)
@@ -9,41 +9,34 @@ MASTER_SITES=	http://boxes.thomasjensen.
 #		SUNSITE/utils/text
 EXTRACT_SUFX=	.src.tar.gz
 
-MAINTAINER=	nemysis@gmx.ch
+MAINTAINER=	nemysis@FreeBSD.org
 COMMENT=	Draws ASCII-art configurable boxes around text or code
 
 LICENSE=	GPLv2
 
-USE_GMAKE=	yes
-USES=		bison
+USES=		bison gmake
 ALL_TARGET=	boxes
 MAKE_ARGS=	CC="${CC}" GLOBALCONF=${GLOBALCONF} CFLAGS="${CFLAGS} -ansi -I. -Iregexp"
 
 GLOBALCONF=	${DATADIR}/boxes-config
 
 PLIST_FILES=	bin/boxes \
-		${DATADIR_REL}/boxes-config
+		${DATADIR_REL}/boxes-config \
+		man/man1/boxes.1.gz
 PLIST_DIRS=	${DATADIR_REL}
 
-MAN1=		boxes.1
-
 PORTDOCS=	README
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-patch:
 	${RM} ${WRKSRC}/src/boxes.h ${WRKSRC}/doc/boxes.1
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/boxes ${PREFIX}/bin
-	${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/boxes-config ${DATADIR}
-	${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1
-
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/src/boxes ${STAGEDIR}${PREFIX}/bin/
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/boxes-config ${STAGEDIR}${DATADIR}
+	${INSTALL_MAN} ${WRKSRC}/doc/boxes.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
+
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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