Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2013 19:30:15 +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: r336090 - head/misc/telbook
Message-ID:  <201312101930.rBAJUF12082013@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Tue Dec 10 19:30:15 2013
New Revision: 336090
URL: http://svnweb.freebsd.org/changeset/ports/336090

Log:
  - Add stage support
  - Add shebangfix to USES
  - Add LICENSE
  - Add DOCS option

Modified:
  head/misc/telbook/Makefile

Modified: head/misc/telbook/Makefile
==============================================================================
--- head/misc/telbook/Makefile	Tue Dec 10 19:26:47 2013	(r336089)
+++ head/misc/telbook/Makefile	Tue Dec 10 19:30:15 2013	(r336090)
@@ -10,22 +10,23 @@ MASTER_SITES=	http://home.arcor.de/kaffe
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Simple telephone book
 
+LICENSE=	GPLv2
+
 RUN_DEPENDS=	p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2
 
+USES=		shebangfix
+SHEBANG_FILES=	telbook
 NO_BUILD=	yes
 USE_BZIP2=	yes
 
 PORTDOCS=	README
 PLIST_FILES=	bin/telbook
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/telbook ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	${INSTALL_SCRIPT} ${WRKSRC}/telbook ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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