diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-07-30 18:48:12 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-07-30 18:48:12 +0800 |
commit | 54ccf35289bb94f0d95952d3a8910485ef7e256e (patch) | |
tree | 53bad48020f3265613d6bb832041367588a333f4 /misc | |
parent | 19b315393fc2fae29d57fb4d15a8317cae1bced1 (diff) | |
download | freebsd-ports-gnome-54ccf35289bb94f0d95952d3a8910485ef7e256e.tar.gz freebsd-ports-gnome-54ccf35289bb94f0d95952d3a8910485ef7e256e.tar.zst freebsd-ports-gnome-54ccf35289bb94f0d95952d3a8910485ef7e256e.zip |
- Add LICENSE
- Fix shebangs
- Use options helpers
Diffstat (limited to 'misc')
-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 |