From 54ccf35289bb94f0d95952d3a8910485ef7e256e Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Thu, 30 Jul 2015 10:48:12 +0000 Subject: - Add LICENSE - Fix shebangs - Use options helpers --- misc/iselect/Makefile | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'misc') diff --git a/misc/iselect/Makefile b/misc/iselect/Makefile index 0c2a2787fff9..1c5bf41c0faf 100644 --- a/misc/iselect/Makefile +++ b/misc/iselect/Makefile @@ -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 - -.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 -- cgit