diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-07-30 10:48:12 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-07-30 10:48:12 +0000 |
commit | 39d7e302065f1d793bb148f9bda7f250a1462748 (patch) | |
tree | 53bad48020f3265613d6bb832041367588a333f4 | |
parent | 2bd621d3c97351fbb70f1aa285102d9effdcd61c (diff) | |
download | ports-39d7e302065f1d793bb148f9bda7f250a1462748.tar.gz ports-39d7e302065f1d793bb148f9bda7f250a1462748.zip |
- Add LICENSE
- Fix shebangs
- Use options helpers
Notes
Notes:
svn path=/head/; revision=393230
-rw-r--r-- | misc/iselect/Makefile | 22 |
1 files changed, 14 insertions, 8 deletions
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 <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 |