Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2015 10:48:12 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r393230 - head/misc/iselect
Message-ID:  <201507301048.t6UAmCWI076114@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jul 30 10:48:12 2015
New Revision: 393230
URL: https://svnweb.freebsd.org/changeset/ports/393230

Log:
  - Add LICENSE
  - Fix shebangs
  - Use options helpers

Modified:
  head/misc/iselect/Makefile

Modified: head/misc/iselect/Makefile
==============================================================================
--- head/misc/iselect/Makefile	Thu Jul 30 10:30:00 2015	(r393229)
+++ head/misc/iselect/Makefile	Thu Jul 30 10:48:12 2015	(r393230)
@@ -3,27 +3,33 @@
 
 PORTNAME=	iselect
 PORTVERSION=	1.4.0
+PORTREVISION=	1
 CATEGORIES=	misc
 MASTER_SITES=	OSSP/tool/iselect
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Interactive Selection Tool
 
-OPTIONS_DEFINE=	SLANG EXAMPLES
-SLANG_DESC=	Link with slang
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
+USES=		shebangfix
+SHEBANG_FILES=	example/gotourl/gotourl \
+		example/ilogin/ilogin \
+		example/melm/melm \
+		example/mtin/mtin \
+		example/scvs/scvs
+perl_OLD_CMD=	/sw/bin/perl
 GNU_CONFIGURE=	yes
 
 PLIST_FILES=	bin/iselect man/man1/iselect.1.gz
 PORTEXAMPLES=	*
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MSLANG}
-LIB_DEPENDS+=	libslang.so:${PORTSDIR}/devel/libslang2
-CONFIGURE_ARGS+=	--with-incdir=${LOCALBASE}/include \
+OPTIONS_DEFINE=	SLANG EXAMPLES
+SLANG_DESC=	Link with slang
+SLANG_LIB_DEPENDS=	libslang.so:${PORTSDIR}/devel/libslang2
+SLANG_CONFIGURE_ON=	--with-incdir=${LOCALBASE}/include \
 			--with-libdir=${LOCALBASE}/lib
-.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure



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