svn commit: r336008 - head/misc/wmtunlo

Danilo Egea Gondolfo danilo at FreeBSD.org
Mon Dec 9 16:52:58 UTC 2013


Author: danilo
Date: Mon Dec  9 16:52:57 2013
New Revision: 336008
URL: http://svnweb.freebsd.org/changeset/ports/336008

Log:
  - Add LICENSE
  - Add EXAMPLES option
  - Add stage support

Modified:
  head/misc/wmtunlo/Makefile

Modified: head/misc/wmtunlo/Makefile
==============================================================================
--- head/misc/wmtunlo/Makefile	Mon Dec  9 16:51:00 2013	(r336007)
+++ head/misc/wmtunlo/Makefile	Mon Dec  9 16:52:57 2013	(r336008)
@@ -11,16 +11,17 @@ MASTER_SITES=	http://www.gnu-darwin.org/
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Falling-down-a-tunnel dockapp
 
+LICENSE=	GPLv2
+
 USE_XORG=	x11 xpm xextproto
 ALL_TARGET=	wmtunlo
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	EXAMPLES
+
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/wmtunlo ${PREFIX}/bin
-.ifndef NOPORTEXAMPLES
-	@${MKDIR} ${EXAMPLESDIR}
-	@${INSTALL_SCRIPT} ${WRKSRC}/examples/* \
-		${EXAMPLESDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/wmtunlo ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/examples/* \
+		${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list